home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 August: Tool Chest / Dev.CD Aug 94.toast / Tool Chest / Developer Utilities / Installer 4.0GM SDK / ScriptCheck 4.0 / ScriptCheck 4.0 Guide < prev    next >
MacBinary  |  1994-02-10  |  89.6 KB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Wed Jan 26 14:43:06 1994, modified Thu Feb 10 07:58:49 1994, creator 'HLX2', type 'ONLN', 89001 bytes "ScriptCheck 4.0 Guide" , at 0x15c29 2495 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 15 53 63 72 69 70 74 | 43 68 65 63 6b 20 34 2e |..Script|Check 4.|
|00000010| 30 20 47 75 69 64 65 00 | 00 00 00 00 00 00 00 00 |0 Guide.|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 01 5b a9 00 | 00 09 bf a9 6c 78 4a a9 |.....[..|....lxJ.|
|00000060| 7f e0 09 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ae 25 00 00 |........|.....%..|
|00000080| 0d 54 61 62 6c 65 20 6f | 66 20 43 6f 6e 74 65 6e |.Table o|f Conten|
|00000090| 74 73 0d 53 63 72 69 70 | 74 43 68 65 63 6b 20 42 |ts.Scrip|tCheck B|
|000000a0| 61 73 69 63 73 0d 4f 76 | 65 72 76 69 65 77 09 31 |asics.Ov|erview.1|
|000000b0| 0d 43 6f 6d 6d 61 6e 64 | 20 4c 69 6e 65 09 31 0d |.Command| Line.1.|
|000000c0| 4f 70 74 69 6f 6e 73 09 | 32 0d 45 72 72 6f 72 20 |Options.|2.Error |
|000000d0| 43 68 65 63 6b 69 6e 67 | 0d 43 6f 6e 73 69 73 74 |Checking|.Consist|
|000000e0| 65 6e 63 79 20 45 72 72 | 6f 72 73 09 35 0d 4c 6f |ency Err|ors.5.Lo|
|000000f0| 67 69 63 20 45 72 72 6f | 72 73 09 36 0d 53 63 72 |gic Erro|rs.6.Scr|
|00000100| 69 70 74 20 55 70 64 61 | 74 69 6e 67 0d 53 63 72 |ipt Upda|ting.Scr|
|00000110| 69 70 74 20 43 6f 6d 70 | 6c 65 74 69 6f 6e 09 38 |ipt Comp|letion.8|
|00000120| 0d 46 69 6c 6c 69 6e 67 | 20 69 6e 20 53 69 7a 65 |.Filling| in Size|
|00000130| 20 46 69 65 6c 64 73 09 | 38 0d 46 69 6c 6c 69 6e | Fields.|8.Fillin|
|00000140| 67 20 69 6e 20 53 6f 75 | 72 63 65 20 56 65 72 73 |g in Sou|rce Vers|
|00000150| 69 6f 6e 20 46 69 65 6c | 64 73 09 39 0d 46 69 6c |ion Fiel|ds.9.Fil|
|00000160| 6c 69 6e 67 20 69 6e 20 | 53 6f 75 72 63 65 20 43 |ling in |Source C|
|00000170| 72 65 61 74 69 6f 6e 20 | 44 61 74 65 73 09 39 0d |reation |Dates.9.|
|00000180| 46 69 6c 6c 69 6e 67 20 | 69 6e 20 46 69 6e 64 65 |Filling |in Finde|
|00000190| 72 20 46 6c 61 67 73 09 | 39 0d 46 69 6c 6c 69 6e |r Flags.|9.Fillin|
|000001a0| 67 20 69 6e 20 50 61 63 | 6b 61 67 65 20 43 6f 6d |g in Pac|kage Com|
|000001b0| 6d 65 6e 74 20 52 65 6c | 65 61 73 65 20 44 61 74 |ment Rel|ease Dat|
|000001c0| 65 73 09 39 0d 55 70 64 | 61 74 69 6e 67 20 74 68 |es.9.Upd|ating th|
|000001d0| 65 20 53 63 72 69 70 74 | 20 43 72 65 61 74 69 6f |e Script| Creatio|
|000001e0| 6e 20 44 61 74 65 20 52 | 65 73 6f 75 72 63 65 20 |n Date R|esource |
|000001f0| 28 d4 69 6e 63 64 d5 29 | 09 31 30 0d 55 70 64 61 |(.incd.)|.10.Upda|
|00000200| 74 69 6e 67 20 74 68 65 | 20 53 63 72 69 70 74 20 |ting the| Script |
|00000210| 53 69 7a 65 20 52 65 73 | 6f 75 72 63 65 20 28 d4 |Size Res|ource (.|
|00000220| 69 6e 73 7a d5 29 09 31 | 30 0d 46 69 6c 65 2f 52 |insz.).1|0.File/R|
|00000230| 65 73 6f 75 72 63 65 20 | 49 6e 66 6f 20 45 78 74 |esource |Info Ext|
|00000240| 65 6e 73 69 6f 6e 20 52 | 65 66 65 72 65 6e 63 65 |ension R|eference|
|00000250| 09 31 30 0d 46 75 6e 63 | 74 69 6f 6e 20 49 6e 74 |.10.Func|tion Int|
|00000260| 65 72 66 61 63 65 09 31 | 30 0d 46 69 6c 65 2f 52 |erface.1|0.File/R|
|00000270| 65 73 6f 75 72 63 65 20 | 49 6e 66 6f 20 45 78 74 |esource |Info Ext|
|00000280| 65 6e 73 69 6f 6e 09 31 | 30 0d 56 65 72 73 69 6f |ension.1|0.Versio|
|00000290| 6e 20 49 6e 66 6f 20 45 | 78 74 65 6e 73 69 6f 6e |n Info E|xtension|
|000002a0| 09 31 30 0d 50 61 72 61 | 6d 65 74 65 72 20 42 6c |.10.Para|meter Bl|
|000002b0| 6f 63 6b 09 31 31 0d 46 | 69 6c 65 2f 52 65 73 6f |ock.11.F|ile/Reso|
|000002c0| 75 72 63 65 20 49 6e 66 | 6f 20 45 78 74 65 6e 73 |urce Inf|o Extens|
|000002d0| 69 6f 6e 20 50 61 72 61 | 6d 65 74 65 72 20 42 6c |ion Para|meter Bl|
|000002e0| 6f 63 6b 09 31 31 0d 56 | 65 72 73 69 6f 6e 20 43 |ock.11.V|ersion C|
|000002f0| 6f 6d 70 61 72 65 20 45 | 78 74 65 6e 73 69 6f 6e |ompare E|xtension|
|00000300| 20 50 61 72 61 6d 65 74 | 65 72 20 42 6c 6f 63 6b | Paramet|er Block|
|00000310| 09 31 32 0d 52 65 73 6f | 75 72 63 65 20 44 65 73 |.12.Reso|urce Des|
|00000320| 63 72 69 70 74 69 6f 6e | 09 31 33 0d 46 69 6c 65 |cription|.13.File|
|00000330| 2f 52 65 73 6f 75 72 63 | 65 20 49 6e 66 6f 20 45 |/Resourc|e Info E|
|00000340| 78 74 65 6e 73 69 6f 6e | 20 52 65 73 6f 75 72 63 |xtension| Resourc|
|00000350| 65 09 31 33 0d 56 65 72 | 73 69 6f 6e 20 49 6e 66 |e.13.Ver|sion Inf|
|00000360| 6f 20 45 78 74 65 6e 73 | 69 6f 6e 20 52 65 73 6f |o Extens|ion Reso|
|00000370| 75 72 63 65 09 31 33 0d | 0d 53 63 72 69 70 74 43 |urce.13.|.ScriptC|
|00000380| 68 65 63 6b 20 42 61 73 | 69 63 73 0d 54 68 69 73 |heck Bas|ics.This|
|00000390| 20 63 68 61 70 74 65 72 | 20 70 72 6f 76 69 64 65 | chapter| provide|
|000003a0| 73 20 61 6e 20 6f 76 65 | 72 76 69 65 77 20 61 6e |s an ove|rview an|
|000003b0| 20 63 6f 6d 6d 61 6e 64 | 20 6c 69 6e 65 20 73 75 | command| line su|
|000003c0| 6d 6d 61 72 79 20 6f 66 | 20 74 68 65 20 4d 50 57 |mmary of| the MPW|
|000003d0| 20 53 63 72 69 70 74 43 | 68 65 63 6b 20 74 6f 6f | ScriptC|heck too|
|000003e0| 6c 2e 0d 4f 76 65 72 76 | 69 65 77 0d 54 68 65 20 |l..Overv|iew.The |
|000003f0| 49 6e 73 74 61 6c 6c 65 | 72 20 53 63 72 69 70 74 |Installe|r Script|
|00000400| 20 43 68 65 63 6b 65 72 | 2c 20 72 65 66 65 72 72 | Checker|, referr|
|00000410| 65 64 20 74 6f 20 61 73 | 20 d4 53 63 72 69 70 74 |ed to as| .Script|
|00000420| 43 68 65 63 6b d5 20 66 | 72 6f 6d 20 74 68 69 73 |Check. f|rom this|
|00000430| 20 70 6f 69 6e 74 20 66 | 6f 72 77 61 72 64 2c 20 | point f|orward, |
|00000440| 69 73 20 61 20 74 6f 6f | 6c 20 74 68 61 74 20 70 |is a too|l that p|
|00000450| 72 6f 76 69 64 65 73 20 | 74 68 65 20 73 63 72 69 |rovides |the scri|
|00000460| 70 74 20 77 72 69 74 65 | 72 20 77 69 74 68 20 73 |pt write|r with s|
|00000470| 63 72 69 70 74 20 65 72 | 72 6f 72 20 61 6e 64 20 |cript er|ror and |
|00000480| 63 6f 6e 73 69 73 74 65 | 6e 63 79 20 63 68 65 63 |consiste|ncy chec|
|00000490| 6b 69 6e 67 20 61 6e 64 | 20 73 63 72 69 70 74 20 |king and| script |
|000004a0| 63 6f 6d 70 6c 65 74 69 | 6f 6e 2e 20 20 53 63 72 |completi|on. Scr|
|000004b0| 69 70 74 43 68 65 63 6b | 20 63 61 6e 20 62 65 20 |iptCheck| can be |
|000004c0| 71 75 69 74 65 20 76 61 | 6c 75 61 62 6c 65 20 69 |quite va|luable i|
|000004d0| 6e 20 64 65 62 75 67 67 | 69 6e 67 20 66 6c 61 77 |n debugg|ing flaw|
|000004e0| 73 20 69 6e 20 49 6e 73 | 74 61 6c 6c 65 72 20 34 |s in Ins|taller 4|
|000004f0| 2e 30 20 73 63 72 69 70 | 74 73 2e 20 20 49 74 20 |.0 scrip|ts. It |
|00000500| 77 69 6c 6c 20 69 6e 66 | 6f 72 6d 20 74 68 65 20 |will inf|orm the |
|00000510| 73 63 72 69 70 74 20 77 | 72 69 74 65 72 20 6f 66 |script w|riter of|
|00000520| 20 69 6e 63 6f 6e 73 69 | 73 74 65 6e 63 69 65 73 | inconsi|stencies|
|00000530| 20 73 75 63 68 20 61 73 | 20 6d 69 73 73 69 6e 67 | such as| missing|
|00000540| 20 72 65 73 6f 75 72 63 | 65 73 2c 20 69 6e 63 6f | resourc|es, inco|
|00000550| 72 72 65 63 74 20 66 6f | 72 6d 61 74 73 2c 20 61 |rrect fo|rmats, a|
|00000560| 6e 64 20 6f 74 68 65 72 | 20 65 72 72 6f 72 73 20 |nd other| errors |
|00000570| 74 68 61 74 20 63 61 6e | 20 63 61 75 73 65 20 61 |that can| cause a|
|00000580| 20 73 63 72 69 70 74 20 | 74 6f 20 62 65 20 75 6e | script |to be un|
|00000590| 75 73 61 62 6c 65 2e 20 | 20 53 63 72 69 70 74 43 |usable. | ScriptC|
|000005a0| 68 65 63 6b 20 61 6c 73 | 6f 20 63 6f 6d 70 6c 65 |heck als|o comple|
|000005b0| 74 65 73 20 61 20 73 63 | 72 69 70 74 20 62 79 20 |tes a sc|ript by |
|000005c0| 64 6f 69 6e 67 20 74 68 | 65 20 74 65 64 69 6f 75 |doing th|e tediou|
|000005d0| 73 20 63 68 6f 72 65 73 | 20 6f 66 20 66 69 6c 6c |s chores| of fill|
|000005e0| 69 6e 67 20 69 6e 20 61 | 74 6f 6d 20 61 6e 64 20 |ing in a|tom and |
|000005f0| 70 61 63 6b 61 67 65 20 | 73 69 7a 65 73 20 61 6e |package |sizes an|
|00000600| 64 20 6f 74 68 65 72 20 | 72 65 71 75 69 72 65 64 |d other |required|
|00000610| 20 61 6e 64 20 6f 70 74 | 69 6f 6e 61 6c 20 66 69 | and opt|ional fi|
|00000620| 65 6c 64 73 20 69 6e 20 | 61 6e 20 49 6e 73 74 61 |elds in |an Insta|
|00000630| 6c 6c 65 72 20 73 63 72 | 69 70 74 2e 0d 54 68 69 |ller scr|ipt..Thi|
|00000640| 73 20 64 6f 63 75 6d 65 | 6e 74 20 64 65 73 63 72 |s docume|nt descr|
|00000650| 69 62 65 73 20 74 68 65 | 20 66 65 61 74 75 72 65 |ibes the| feature|
|00000660| 73 20 6f 66 20 53 63 72 | 69 70 74 43 68 65 63 6b |s of Scr|iptCheck|
|00000670| 20 61 6e 64 20 65 78 70 | 6c 61 69 6e 73 20 68 6f | and exp|lains ho|
|00000680| 77 20 74 6f 20 75 73 65 | 20 74 68 65 20 74 6f 6f |w to use| the too|
|00000690| 6c 2e 20 20 49 74 20 61 | 73 73 75 6d 65 73 20 61 |l. It a|ssumes a|
|000006a0| 20 70 72 69 6f 72 20 6b | 6e 6f 77 6c 65 64 67 65 | prior k|nowledge|
|000006b0| 20 6f 66 20 49 6e 73 74 | 61 6c 6c 65 72 20 34 2e | of Inst|aller 4.|
|000006c0| 30 20 73 63 72 69 70 74 | 20 73 74 72 75 63 74 75 |0 script| structu|
|000006d0| 72 65 2c 20 64 65 73 69 | 67 6e 2c 20 61 6e 64 20 |re, desi|gn, and |
|000006e0| 72 65 73 6f 75 72 63 65 | 20 74 79 70 65 73 20 2e |resource| types .|
|000006f0| 20 20 46 6f 72 20 6d 6f | 72 65 20 69 6e 66 6f 72 | For mo|re infor|
|00000700| 6d 61 74 69 6f 6e 20 6f | 6e 20 74 68 65 73 65 20 |mation o|n these |
|00000710| 74 6f 70 69 63 73 20 63 | 6f 6e 73 75 6c 74 20 74 |topics c|onsult t|
|00000720| 68 65 20 d2 49 6e 73 74 | 61 6c 6c 65 72 20 20 34 |he .Inst|aller 4|
|00000730| 2e 30 20 53 63 72 69 70 | 74 69 6e 67 20 47 75 69 |.0 Scrip|ting Gui|
|00000740| 64 65 d3 2e 0d 53 63 72 | 69 70 74 43 68 65 63 6b |de...Scr|iptCheck|
|00000750| 20 77 61 73 20 77 72 69 | 74 74 65 6e 20 74 6f 20 | was wri|tten to |
|00000760| 68 65 6c 70 20 79 6f 75 | 20 64 65 62 75 67 20 61 |help you| debug a|
|00000770| 6e 64 20 66 69 6e 69 73 | 68 20 79 6f 75 72 20 49 |nd finis|h your I|
|00000780| 6e 73 74 61 6c 6c 65 72 | 20 73 63 72 69 70 74 73 |nstaller| scripts|
|00000790| 2e 20 20 41 6c 74 68 6f | 75 67 68 20 69 74 20 63 |. Altho|ugh it c|
|000007a0| 61 6e 20 66 69 6e 64 20 | 6d 61 6e 79 20 65 72 72 |an find |many err|
|000007b0| 6f 72 73 20 61 6e 64 20 | 70 72 6f 62 6c 65 6d 73 |ors and |problems|
|000007c0| 20 69 6e 20 61 20 73 63 | 72 69 70 74 2c 20 69 74 | in a sc|ript, it|
|000007d0| 20 69 73 20 61 20 70 72 | 65 70 72 6f 63 65 73 73 | is a pr|eprocess|
|000007e0| 6f 72 20 61 6e 64 20 63 | 61 6e 6e 6f 74 20 63 68 |or and c|annot ch|
|000007f0| 65 63 6b 20 74 68 65 20 | 72 75 6e 2d 74 69 6d 65 |eck the |run-time|
|00000800| 20 72 6f 62 75 73 74 6e | 65 73 73 20 6f 66 20 79 | robustn|ess of y|
|00000810| 6f 75 72 20 73 63 72 69 | 70 74 2e 20 20 4a 75 73 |our scri|pt. Jus|
|00000820| 74 20 61 73 20 61 20 50 | 61 73 63 61 6c 20 63 6f |t as a P|ascal co|
|00000830| 6d 70 69 6c 65 72 20 6d | 61 79 20 73 6d 69 6c 65 |mpiler m|ay smile|
|00000840| 20 6f 6e 20 61 20 70 69 | 65 63 65 20 6f 66 20 63 | on a pi|ece of c|
|00000850| 6f 64 65 20 74 68 61 74 | 20 6c 61 74 65 72 20 65 |ode that| later e|
|00000860| 78 65 63 75 74 65 73 20 | 61 6e 20 69 6e 66 69 6e |xecutes |an infin|
|00000870| 69 74 65 20 6c 6f 6f 70 | 2c 20 53 63 72 69 70 74 |ite loop|, Script|
|00000880| 43 68 65 63 6b 20 6d 61 | 79 20 61 70 70 72 6f 76 |Check ma|y approv|
|00000890| 65 20 6f 66 20 61 20 73 | 63 72 69 70 74 20 74 68 |e of a s|cript th|
|000008a0| 61 74 20 74 68 65 20 49 | 6e 73 74 61 6c 6c 65 72 |at the I|nstaller|
|000008b0| 20 6c 61 74 65 72 20 62 | 61 72 66 73 20 6f 6e 21 | later b|arfs on!|
|000008c0| 20 0d 54 6f 20 68 65 6c | 70 20 63 61 74 63 68 20 | .To hel|p catch |
|000008d0| 61 73 20 6d 61 6e 79 20 | 62 75 67 73 20 69 6e 20 |as many |bugs in |
|000008e0| 79 6f 75 72 20 73 63 72 | 69 70 74 20 61 73 20 79 |your scr|ipt as y|
|000008f0| 6f 75 20 63 61 6e 2c 20 | 75 73 65 20 74 68 65 20 |ou can, |use the |
|00000900| 49 6e 73 74 61 6c 6c 65 | 72 20 44 65 62 75 67 67 |Installe|r Debugg|
|00000910| 65 72 20 69 73 20 63 6f | 6e 6a 75 6e 63 74 69 6f |er is co|njunctio|
|00000920| 6e 20 77 69 74 68 20 53 | 63 72 69 70 74 43 68 65 |n with S|criptChe|
|00000930| 63 6b 2e 20 20 0d 47 6f | 6f 64 20 6c 75 63 6b 2e |ck. .Go|od luck.|
|00000940| 0d 43 6f 6d 6d 61 6e 64 | 20 4c 69 6e 65 0d 53 63 |.Command| Line.Sc|
|00000950| 72 69 70 74 43 68 65 63 | 6b 20 69 73 20 61 6e 20 |riptChec|k is an |
|00000960| 4d 50 57 20 74 6f 6f 6c | 20 74 68 61 74 20 69 73 |MPW tool| that is|
|00000970| 20 65 78 65 63 75 74 65 | 64 20 66 72 6f 6d 20 74 | execute|d from t|
|00000980| 68 65 20 4d 50 57 20 57 | 6f 72 6b 53 68 65 65 74 |he MPW W|orkSheet|
|00000990| 2e 20 20 52 75 6e 20 53 | 63 72 69 70 74 43 68 65 |. Run S|criptChe|
|000009a0| 63 6b 20 61 66 74 65 72 | 20 79 6f 75 20 68 61 76 |ck after| you hav|
|000009b0| 65 20 52 65 7a d5 64 20 | 79 6f 75 72 20 49 6e 73 |e Rez.d |your Ins|
|000009c0| 74 61 6c 6c 65 72 20 73 | 63 72 69 70 74 20 61 6e |taller s|cript an|
|000009d0| 64 20 66 69 78 65 64 20 | 61 6e 79 20 65 72 72 6f |d fixed |any erro|
|000009e0| 72 73 20 74 68 61 74 20 | 52 65 7a 20 72 65 70 6f |rs that |Rez repo|
|000009f0| 72 74 65 64 2e 20 20 0d | 41 66 74 65 72 20 73 74 |rted. .|After st|
|00000a00| 61 72 74 69 6e 67 20 53 | 63 72 69 70 74 43 68 65 |arting S|criptChe|
|00000a10| 63 6b 2c 20 74 68 65 20 | 6f 6e 6c 79 20 61 63 74 |ck, the |only act|
|00000a20| 69 6f 6e 20 72 65 71 75 | 69 72 65 64 20 62 79 20 |ion requ|ired by |
|00000a30| 74 68 65 20 75 73 65 72 | 20 69 6e 76 6f 6c 76 65 |the user| involve|
|00000a40| 73 20 69 6e 73 65 72 74 | 69 6e 67 20 74 68 65 20 |s insert|ing the |
|00000a50| 73 6f 75 72 63 65 20 64 | 69 73 6b 73 2e 20 20 54 |source d|isks. T|
|00000a60| 68 65 20 72 65 73 74 20 | 6f 66 20 74 68 65 20 70 |he rest |of the p|
|00000a70| 72 6f 63 65 73 73 20 69 | 73 20 61 75 74 6f 6d 61 |rocess i|s automa|
|00000a80| 74 69 63 2c 20 62 75 74 | 20 63 61 6e 20 74 61 6b |tic, but| can tak|
|00000a90| 65 20 74 69 6d 65 20 64 | 65 70 65 6e 64 69 6e 67 |e time d|epending|
|00000aa0| 20 6f 6e 20 74 68 65 20 | 73 69 7a 65 20 6f 66 20 | on the |size of |
|00000ab0| 74 68 65 20 73 63 72 69 | 70 74 2e 2e 0d 53 63 72 |the scri|pt...Scr|
|00000ac0| 69 70 74 43 68 65 63 6b | 20 28 20 5b 2d 61 5d 20 |iptCheck| ( [-a] |
|00000ad0| 5b 2d 64 5d 20 5b 2d 66 | 5d 20 5b 2d 68 5d 20 5b |[-d] [-f|] [-h] [|
|00000ae0| 2d 6c 30 c9 32 5d 20 5b | 2d 70 5d 20 5b 2d 71 5d |-l0.2] [|-p] [-q]|
|00000af0| 20 5b 2d 72 5d 20 5b 2d | 73 5d 20 29 20 73 63 72 | [-r] [-|s] ) scr|
|00000b00| 69 70 74 46 69 6c 65 4e | 61 6d 65 0d 4f 70 74 69 |iptFileN|ame.Opti|
|00000b10| 6f 6e 73 0d 41 6c 6c 20 | 6f 66 20 74 68 65 20 63 |ons.All |of the c|
|00000b20| 6f 6d 6d 61 6e 64 20 6c | 69 6e 65 20 6f 70 74 69 |ommand l|ine opti|
|00000b30| 6f 6e 73 2c 20 69 6e 20 | 70 61 72 65 6e 74 68 65 |ons, in |parenthe|
|00000b40| 73 69 73 20 61 62 6f 76 | 65 2c 20 61 72 65 20 6f |sis abov|e, are o|
|00000b50| 70 74 69 6f 6e 61 6c 2e | 20 20 0d 2d 61 20 09 54 |ptional.| .-a .T|
|00000b60| 65 6c 6c 73 20 53 63 72 | 69 70 74 43 68 65 63 6b |ells Scr|iptCheck|
|00000b70| 20 74 6f 20 75 70 64 61 | 74 65 20 74 68 65 20 73 | to upda|te the s|
|00000b80| 69 7a 65 20 66 69 65 6c | 64 73 20 66 6f 72 20 41 |ize fiel|ds for A|
|00000b90| 4c 4c 20 d4 69 6e 66 61 | d5 20 61 6e 64 20 d4 69 |LL .infa|. and .i|
|00000ba0| 6e 72 61 d5 20 72 65 73 | 6f 75 72 63 65 73 2c 20 |nra. res|ources, |
|00000bb0| 72 65 67 61 72 64 6c 65 | 73 73 20 6f 66 20 77 68 |regardle|ss of wh|
|00000bc0| 65 74 68 65 72 20 74 68 | 65 79 20 77 65 72 65 20 |ether th|ey were |
|00000bd0| 6d 61 6e 75 61 6c 6c 79 | 20 65 6e 74 65 72 65 64 |manually| entered|
|00000be0| 2e 20 20 54 68 69 73 20 | 6f 70 74 69 6f 6e 20 6d |. This |option m|
|00000bf0| 61 79 20 62 65 20 75 73 | 65 66 75 6c 20 77 68 65 |ay be us|eful whe|
|00000c00| 6e 20 72 65 2d 63 68 65 | 63 6b 69 6e 67 20 61 20 |n re-che|cking a |
|00000c10| 73 63 72 69 70 74 2c 20 | 77 68 69 63 68 20 69 74 |script, |which it|
|00000c20| 73 65 6c 66 20 69 73 20 | 4e 4f 54 20 72 65 63 6f |self is |NOT reco|
|00000c30| 6d 6d 65 6e 64 65 64 2e | 0d 2d 64 09 54 65 6c 6c |mmended.|.-d.Tell|
|00000c40| 73 20 53 63 72 69 70 74 | 43 68 65 63 6b 20 74 6f |s Script|Check to|
|00000c50| 20 75 70 64 61 74 65 20 | 41 4c 4c 20 d4 69 6e 66 | update |ALL .inf|
|00000c60| 73 d5 20 63 72 65 61 74 | 69 6f 6e 20 64 61 74 65 |s. creat|ion date|
|00000c70| 73 20 72 65 67 61 72 64 | 6c 65 73 73 20 6f 66 20 |s regard|less of |
|00000c80| 74 68 65 20 76 61 6c 75 | 65 20 69 74 20 66 69 6e |the valu|e it fin|
|00000c90| 64 73 20 69 6e 20 74 68 | 65 20 63 72 65 61 74 69 |ds in th|e creati|
|00000ca0| 6f 6e 20 64 61 74 65 20 | 66 69 65 6c 64 2e 20 20 |on date |field. |
|00000cb0| 54 68 69 73 20 66 65 61 | 74 75 72 65 20 69 73 20 |This fea|ture is |
|00000cc0| 75 73 65 66 75 6c 20 77 | 68 65 6e 20 53 63 72 69 |useful w|hen Scri|
|00000cd0| 70 74 43 68 65 63 6b 69 | 6e 67 20 61 20 73 63 72 |ptChecki|ng a scr|
|00000ce0| 69 70 74 20 74 68 61 74 | 20 68 61 73 20 70 72 65 |ipt that| has pre|
|00000cf0| 76 69 6f 75 73 6c 79 20 | 62 65 65 6e 20 63 68 65 |viously |been che|
|00000d00| 63 6b 65 64 2e 20 20 49 | 66 20 79 6f 75 20 67 65 |cked. I|f you ge|
|00000d10| 74 20 61 20 6e 65 77 20 | 73 65 74 20 6f 66 20 73 |t a new |set of s|
|00000d20| 6f 75 72 63 65 20 64 69 | 73 6b 73 20 61 6e 64 20 |ource di|sks and |
|00000d30| 74 68 65 20 6f 6e 6c 79 | 20 63 68 61 6e 67 65 73 |the only| changes|
|00000d40| 20 61 72 65 20 66 69 6c | 65 20 73 69 7a 65 73 20 | are fil|e sizes |
|00000d50| 61 6e 64 20 63 72 65 61 | 74 69 6f 6e 20 64 61 74 |and crea|tion dat|
|00000d60| 65 73 2c 20 74 68 65 6e | 20 79 6f 75 20 63 61 6e |es, then| you can|
|00000d70| 20 72 75 6e 20 53 63 72 | 69 70 74 43 68 65 63 6b | run Scr|iptCheck|
|00000d80| 20 61 67 61 69 6e 20 77 | 69 74 68 20 74 68 65 20 | again w|ith the |
|00000d90| 2d 64 20 6f 70 74 69 6f | 6e 20 74 6f 20 75 70 64 |-d optio|n to upd|
|00000da0| 61 74 65 20 74 68 6f 73 | 65 20 64 61 74 65 73 2e |ate thos|e dates.|
|00000db0| 20 20 0d 09 54 68 69 73 | 20 66 65 61 74 75 72 65 | ..This| feature|
|00000dc0| 20 73 68 6f 75 6c 64 20 | 62 65 20 75 73 65 64 20 | should |be used |
|00000dd0| 6f 6e 6c 79 20 69 6e 20 | 73 70 65 63 69 61 6c 20 |only in |special |
|00000de0| 63 69 72 63 75 6d 73 74 | 61 6e 63 65 73 3b 20 69 |circumst|ances; i|
|00000df0| 74 20 69 73 20 6d 75 63 | 68 20 62 65 74 74 65 72 |t is muc|h better|
|00000e00| 20 74 6f 20 73 74 61 72 | 74 20 77 69 74 68 20 61 | to star|t with a|
|00000e10| 20 66 72 65 73 68 20 49 | 6e 73 74 61 6c 6c 65 72 | fresh I|nstaller|
|00000e20| 20 73 63 72 69 70 74 20 | 65 61 63 68 20 74 69 6d | script |each tim|
|00000e30| 65 20 79 6f 75 20 72 75 | 6e 20 53 63 72 69 70 74 |e you ru|n Script|
|00000e40| 43 68 65 63 6b 2e 0d 2d | 66 09 54 65 6c 6c 73 20 |Check..-|f.Tells |
|00000e50| 53 63 72 69 70 74 43 68 | 65 63 6b 20 74 6f 20 75 |ScriptCh|eck to u|
|00000e60| 70 64 61 74 65 20 41 4c | 4c 20 46 6e 64 65 72 20 |pdate AL|L Fnder |
|00000e70| 66 6c 61 67 73 20 72 65 | 67 61 72 64 6c 65 73 73 |flags re|gardless|
|00000e80| 20 6f 66 20 74 68 65 20 | 76 61 6c 75 65 20 69 74 | of the |value it|
|00000e90| 20 66 69 6e 64 73 20 69 | 6e 20 74 68 65 20 46 69 | finds i|n the Fi|
|00000ea0| 6e 64 65 72 20 66 6c 61 | 67 73 20 20 66 69 65 6c |nder fla|gs fiel|
|00000eb0| 64 2e 20 20 4f 74 68 65 | 72 77 69 73 65 2c 20 6f |d. Othe|rwise, o|
|00000ec0| 6e 6c 79 20 74 68 6f 73 | 65 20 66 69 6c 65 73 20 |nly thos|e files |
|00000ed0| 74 68 61 74 20 68 61 76 | 65 20 7a 65 72 6f 20 69 |that hav|e zero i|
|00000ee0| 6e 20 74 68 69 73 20 66 | 69 65 6c 64 20 77 69 6c |n this f|ield wil|
|00000ef0| 6c 20 62 65 20 75 70 64 | 61 74 65 64 2e 20 20 54 |l be upd|ated. T|
|00000f00| 68 69 73 20 66 65 61 74 | 75 72 65 20 69 73 20 75 |his feat|ure is u|
|00000f10| 73 65 66 75 6c 20 77 68 | 65 6e 20 53 63 72 69 70 |seful wh|en Scrip|
|00000f20| 74 43 68 65 63 6b 69 6e | 67 20 61 20 73 63 72 69 |tCheckin|g a scri|
|00000f30| 70 74 20 74 68 61 74 20 | 68 61 73 20 70 72 65 76 |pt that |has prev|
|00000f40| 69 6f 75 73 6c 79 20 62 | 65 65 6e 20 63 68 65 63 |iously b|een chec|
|00000f50| 6b 65 64 2e 20 0d 09 54 | 68 69 73 20 66 65 61 74 |ked. ..T|his feat|
|00000f60| 75 72 65 20 73 68 6f 75 | 6c 64 20 62 65 20 75 73 |ure shou|ld be us|
|00000f70| 65 64 20 6f 6e 6c 79 20 | 69 6e 20 73 70 65 63 69 |ed only |in speci|
|00000f80| 61 6c 20 63 69 72 63 75 | 6d 73 74 61 6e 63 65 73 |al circu|mstances|
|00000f90| 3b 20 69 74 20 69 73 20 | 6d 75 63 68 20 62 65 74 |; it is |much bet|
|00000fa0| 74 65 72 20 74 6f 20 73 | 74 61 72 74 20 77 69 74 |ter to s|tart wit|
|00000fb0| 68 20 61 20 66 72 65 73 | 68 20 49 6e 73 74 61 6c |h a fres|h Instal|
|00000fc0| 6c 65 72 20 73 63 72 69 | 70 74 20 65 61 63 68 20 |ler scri|pt each |
|00000fd0| 74 69 6d 65 20 79 6f 75 | 20 72 75 6e 20 53 63 72 |time you| run Scr|
|00000fe0| 69 70 74 43 68 65 63 6b | 2e 0d 2d 68 09 46 6f 72 |iptCheck|..-h.For|
|00000ff0| 63 65 73 20 53 63 72 69 | 70 74 43 68 65 63 6b 20 |ces Scri|ptCheck |
|00001000| 74 6f 20 72 65 73 74 72 | 69 63 74 20 69 74 73 20 |to restr|ict its |
|00001010| 73 65 61 72 63 68 20 66 | 6f 72 20 74 68 65 20 73 |search f|or the s|
|00001020| 6f 75 72 63 65 20 66 69 | 6c 65 73 20 74 6f 20 74 |ource fi|les to t|
|00001030| 68 65 20 66 6f 6c 64 65 | 72 73 20 73 75 72 72 6f |he folde|rs surro|
|00001040| 75 6e 64 69 6e 67 20 74 | 68 65 20 73 63 72 69 70 |unding t|he scrip|
|00001050| 74 20 66 69 6c 65 2e 20 | 20 53 63 72 69 70 74 43 |t file. | ScriptC|
|00001060| 68 65 63 6b 20 75 73 65 | 73 20 74 68 65 20 73 61 |heck use|s the sa|
|00001070| 6d 65 20 73 6f 75 72 63 | 65 20 66 6f 6c 64 65 72 |me sourc|e folder|
|00001080| 20 73 65 61 72 63 68 20 | 73 74 72 61 74 65 67 79 | search |strategy|
|00001090| 20 61 73 20 49 6e 73 74 | 61 6c 6c 65 72 20 34 2e | as Inst|aller 4.|
|000010a0| 30 2e 20 20 57 69 74 68 | 6f 75 74 20 74 68 69 73 |0. With|out this|
|000010b0| 20 6f 70 74 69 6f 6e 20 | 53 63 72 69 70 74 43 68 | option |ScriptCh|
|000010c0| 65 63 6b 20 61 75 74 6f | 6d 61 74 69 63 61 6c 6c |eck auto|maticall|
|000010d0| 79 20 61 73 6b 73 20 66 | 6f 72 20 61 20 73 6f 75 |y asks f|or a sou|
|000010e0| 72 63 65 20 66 6c 6f 70 | 70 79 20 64 69 73 6b 2c |rce flop|py disk,|
|000010f0| 20 69 67 6e 6f 72 69 6e | 67 20 73 6f 75 72 63 65 | ignorin|g source|
|00001100| 20 66 69 6c 65 73 20 6e | 65 61 72 20 74 68 65 20 | files n|ear the |
|00001110| 73 63 72 69 70 74 20 66 | 69 6c 65 2e 0d 09 49 66 |script f|ile...If|
|00001120| 20 79 6f 75 20 64 6f 20 | 6e 6f 74 20 68 61 76 65 | you do |not have|
|00001130| 20 73 6f 6d 65 20 6f 72 | 20 61 6c 6c 20 6f 66 20 | some or| all of |
|00001140| 74 68 65 20 73 6f 75 72 | 63 65 20 64 69 73 6b 73 |the sour|ce disks|
|00001150| 20 61 76 61 69 6c 61 62 | 6c 65 2c 20 79 6f 75 20 | availab|le, you |
|00001160| 63 61 6e 20 73 74 69 6c | 6c 20 72 75 6e 20 53 63 |can stil|l run Sc|
|00001170| 72 69 70 74 43 68 65 63 | 6b 20 74 6f 20 76 65 72 |riptChec|k to ver|
|00001180| 69 66 79 20 74 68 65 20 | 63 6f 72 72 65 63 74 6e |ify the |correctn|
|00001190| 65 73 73 20 6f 66 20 79 | 6f 75 72 20 73 63 72 69 |ess of y|our scri|
|000011a0| 70 74 20 69 74 73 65 6c | 66 20 77 69 74 68 6f 75 |pt itsel|f withou|
|000011b0| 74 20 63 68 65 63 6b 69 | 6e 67 20 74 68 65 20 73 |t checki|ng the s|
|000011c0| 6f 75 72 63 65 20 64 69 | 73 6b 73 2e 20 20 54 68 |ource di|sks. Th|
|000011d0| 69 73 20 69 73 20 61 63 | 63 6f 6d 70 6c 69 73 68 |is is ac|complish|
|000011e0| 65 64 20 62 79 20 70 72 | 65 73 73 69 6e 67 20 74 |ed by pr|essing t|
|000011f0| 68 65 20 d2 53 6b 69 70 | 20 44 69 73 6b d3 20 62 |he .Skip| Disk. b|
|00001200| 75 74 74 6f 6e 20 69 6e | 20 74 68 65 20 64 69 61 |utton in| the dia|
|00001210| 6c 6f 67 20 62 6f 78 20 | 74 68 61 74 20 72 65 71 |log box |that req|
|00001220| 75 65 73 74 73 20 61 20 | 73 6f 75 72 63 65 20 64 |uests a |source d|
|00001230| 69 73 6b 2e 20 20 50 6c | 65 61 73 65 20 6e 6f 74 |isk. Pl|ease not|
|00001240| 65 20 74 68 61 74 20 73 | 6b 69 70 70 69 6e 67 20 |e that s|kipping |
|00001250| 61 20 64 69 73 6b 20 6d | 61 79 20 63 61 75 73 65 |a disk m|ay cause|
|00001260| 20 74 68 65 20 73 69 7a | 65 20 63 61 6c 63 75 6c | the siz|e calcul|
|00001270| 61 74 69 6f 6e 20 74 68 | 61 74 20 69 73 20 70 6c |ation th|at is pl|
|00001280| 61 63 65 64 20 69 6e 20 | 74 68 65 20 d4 69 6e 72 |aced in |the .inr|
|00001290| 61 d5 2c 20 d4 69 6e 66 | 61 d5 2c 20 61 6e 64 20 |a., .inf|a., and |
|000012a0| d4 69 6e 70 6b d5 20 74 | 6f 20 62 65 20 69 6e 63 |.inpk. t|o be inc|
|000012b0| 6f 72 72 65 63 74 20 28 | 62 65 63 61 75 73 65 20 |orrect (|because |
|000012c0| 74 68 65 20 66 69 6c 65 | 20 73 69 7a 65 73 20 77 |the file| sizes w|
|000012d0| 65 72 65 20 6e 6f 74 20 | 65 78 74 72 61 63 74 65 |ere not |extracte|
|000012e0| 64 29 20 61 6e 64 20 63 | 72 65 61 74 69 6f 6e 20 |d) and c|reation |
|000012f0| 64 61 74 65 73 20 77 69 | 6c 6c 20 6e 6f 74 20 62 |dates wi|ll not b|
|00001300| 65 20 66 69 6c 6c 65 64 | 20 69 6e 20 66 6f 72 20 |e filled| in for |
|00001310| d4 69 6e 66 73 d5 20 72 | 65 73 6f 75 72 63 65 73 |.infs. r|esources|
|00001320| 20 74 68 61 74 20 72 65 | 66 65 72 65 6e 63 65 20 | that re|ference |
|00001330| 74 68 65 20 73 6b 69 70 | 70 65 64 20 64 69 73 6b |the skip|ped disk|
|00001340| 2e 20 20 54 68 65 20 73 | 6b 69 70 20 64 69 73 6b |. The s|kip disk|
|00001350| 20 66 65 61 74 75 72 65 | 20 73 68 6f 75 6c 64 20 | feature| should |
|00001360| 6f 6e 6c 79 20 62 65 20 | 75 73 65 64 20 66 6f 72 |only be |used for|
|00001370| 20 70 72 65 6c 69 6d 69 | 6e 61 72 79 20 73 63 72 | prelimi|nary scr|
|00001380| 69 70 74 20 64 65 76 65 | 6c 6f 70 6d 65 6e 74 2c |ipt deve|lopment,|
|00001390| 20 6e 6f 74 20 66 6f 72 | 20 66 69 6e 61 6c 20 76 | not for| final v|
|000013a0| 65 72 73 69 6f 6e 73 20 | 6f 66 20 74 68 65 20 73 |ersions |of the s|
|000013b0| 63 72 69 70 74 2e 0d 2d | 6c 30 c9 32 20 09 4f 76 |cript..-|l0.2 .Ov|
|000013c0| 65 72 72 69 64 65 73 20 | 74 68 65 20 64 65 66 61 |errides |the defa|
|000013d0| 75 6c 74 20 65 72 72 6f | 72 20 63 68 65 63 6b 69 |ult erro|r checki|
|000013e0| 6e 67 20 6c 65 76 65 6c | 2e 20 20 54 68 65 20 64 |ng level|. The d|
|000013f0| 65 66 61 75 6c 74 20 6c | 65 76 65 6c 20 69 73 20 |efault l|evel is |
|00001400| 6c 65 76 65 6c 20 32 20 | 77 68 69 63 68 20 63 61 |level 2 |which ca|
|00001410| 75 73 65 73 20 53 63 72 | 69 70 74 43 68 65 63 6b |uses Scr|iptCheck|
|00001420| 20 74 6f 20 6f 75 74 70 | 75 74 20 61 6c 6c 20 65 | to outp|ut all e|
|00001430| 72 72 6f 72 2c 20 77 61 | 72 6e 69 6e 67 2c 20 61 |rror, wa|rning, a|
|00001440| 6e 64 20 6e 6f 74 65 20 | 6d 65 73 73 61 67 65 73 |nd note |messages|
|00001450| 20 64 75 72 69 6e 67 20 | 69 74 73 20 63 68 65 63 | during |its chec|
|00001460| 6b 2e 20 20 54 68 69 73 | 20 69 73 20 74 68 65 20 |k. This| is the |
|00001470| 6d 6f 73 74 20 73 74 72 | 69 6e 67 65 6e 74 20 63 |most str|ingent c|
|00001480| 68 65 63 6b 69 6e 67 20 | 6c 65 76 65 6c 20 61 6e |hecking |level an|
|00001490| 64 20 64 69 73 70 6c 61 | 79 73 20 61 6e 79 20 70 |d displa|ys any p|
|000014a0| 72 6f 62 6c 65 6d 73 2c | 20 6d 69 6e 6f 72 20 61 |roblems,| minor a|
|000014b0| 6e 64 20 6d 61 6a 6f 72 | 2c 20 74 68 61 74 20 69 |nd major|, that i|
|000014c0| 74 20 66 69 6e 64 73 2e | 20 20 4c 65 76 65 6c 20 |t finds.| Level |
|000014d0| 30 2c 20 6f 6e 20 74 68 | 65 20 6f 74 68 65 72 20 |0, on th|e other |
|000014e0| 68 61 6e 64 2c 20 69 73 | 20 74 68 65 20 6d 6f 73 |hand, is| the mos|
|000014f0| 74 20 6c 65 6e 69 65 6e | 74 20 63 68 65 63 6b 69 |t lenien|t checki|
|00001500| 6e 67 20 6c 65 76 65 6c | 2e 20 20 53 63 72 69 70 |ng level|. Scrip|
|00001510| 74 43 68 65 63 6b 20 77 | 69 6c 6c 20 6f 6e 6c 79 |tCheck w|ill only|
|00001520| 20 6f 75 74 70 75 74 20 | 65 72 72 6f 72 20 74 79 | output |error ty|
|00001530| 70 65 20 6d 65 73 73 61 | 67 65 73 20 77 68 65 6e |pe messa|ges when|
|00001540| 20 73 65 74 20 74 6f 20 | 74 68 69 73 20 6c 65 76 | set to |this lev|
|00001550| 65 6c 2e 20 20 4f 6e 6c | 79 20 75 73 65 20 6c 65 |el. Onl|y use le|
|00001560| 76 65 6c 20 30 20 77 68 | 65 6e 20 79 6f 75 20 61 |vel 0 wh|en you a|
|00001570| 72 65 20 63 6f 6e 66 69 | 64 65 6e 74 20 74 68 61 |re confi|dent tha|
|00001580| 74 20 79 6f 75 20 63 61 | 6e 20 64 69 73 72 65 67 |t you ca|n disreg|
|00001590| 61 72 64 20 61 6e 79 20 | 77 61 72 6e 69 6e 67 73 |ard any |warnings|
|000015a0| 20 61 6e 64 20 6e 6f 74 | 65 73 20 74 68 61 74 20 | and not|es that |
|000015b0| 77 6f 75 6c 64 20 68 61 | 76 65 20 6f 74 68 65 72 |would ha|ve other|
|000015c0| 77 69 73 65 20 62 65 65 | 6e 20 6f 75 74 70 75 74 |wise bee|n output|
|000015d0| 20 6f 6e 20 61 20 6d 6f | 72 65 20 73 74 72 69 6e | on a mo|re strin|
|000015e0| 67 65 6e 74 20 6c 65 76 | 65 6c 2e 20 20 46 69 6e |gent lev|el. Fin|
|000015f0| 61 6c 6c 79 2c 20 6c 65 | 76 65 6c 20 31 20 69 73 |ally, le|vel 1 is|
|00001600| 20 61 20 6d 6f 64 65 72 | 61 74 65 20 63 68 65 63 | a moder|ate chec|
|00001610| 6b 69 6e 67 20 6c 65 76 | 65 6c 20 74 68 61 74 20 |king lev|el that |
|00001620| 6f 75 74 70 75 74 73 20 | 62 6f 74 68 20 65 72 72 |outputs |both err|
|00001630| 6f 72 73 20 61 6e 64 20 | 77 61 72 6e 69 6e 67 73 |ors and |warnings|
|00001640| 2c 20 62 75 74 20 64 6f | 65 73 20 6e 6f 74 20 6f |, but do|es not o|
|00001650| 75 74 70 75 74 20 6e 6f | 74 65 20 6d 65 73 73 61 |utput no|te messa|
|00001660| 67 65 73 2e 20 20 49 6e | 20 73 6f 6d 65 20 63 61 |ges. In| some ca|
|00001670| 73 65 73 2c 20 74 68 65 | 20 6e 6f 74 65 20 6d 65 |ses, the| note me|
|00001680| 73 73 61 67 65 73 20 6d | 61 79 20 62 65 20 73 75 |ssages m|ay be su|
|00001690| 70 65 72 66 6c 75 6f 75 | 73 20 69 6e 66 6f 72 6d |perfluou|s inform|
|000016a0| 61 74 69 6f 6e 2c 20 61 | 6e 64 20 79 6f 75 20 6d |ation, a|nd you m|
|000016b0| 61 79 20 70 72 65 66 65 | 72 20 74 6f 20 75 73 65 |ay prefe|r to use|
|000016c0| 20 6c 65 76 65 6c 20 31 | 20 74 6f 20 61 76 6f 69 | level 1| to avoi|
|000016d0| 64 20 74 68 65 6d 2e 0d | 2d 70 09 43 61 75 73 65 |d them..|-p.Cause|
|000016e0| 73 20 53 63 72 69 70 74 | 43 68 65 63 6b 20 74 6f |s Script|Check to|
|000016f0| 20 6f 75 74 70 75 74 20 | 70 72 6f 67 72 65 73 73 | output |progress|
|00001700| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 61 73 20 | informa|tion as |
|00001710| 69 74 20 70 72 6f 63 65 | 65 64 73 20 74 68 72 6f |it proce|eds thro|
|00001720| 75 67 68 20 69 74 73 20 | 63 68 65 63 6b 69 6e 67 |ugh its |checking|
|00001730| 20 63 79 63 6c 65 2e 20 | 20 54 68 69 73 20 69 6e | cycle. | This in|
|00001740| 66 6f 72 6d 61 74 69 6f | 6e 20 69 73 20 75 73 65 |formatio|n is use|
|00001750| 66 75 6c 20 62 65 63 61 | 75 73 65 20 69 74 20 67 |ful beca|use it g|
|00001760| 69 76 65 73 20 61 20 63 | 6f 6e 74 65 78 74 20 74 |ives a c|ontext t|
|00001770| 6f 20 74 68 65 20 65 72 | 72 6f 72 2c 20 77 61 72 |o the er|ror, war|
|00001780| 6e 69 6e 67 2c 20 61 6e | 64 20 6e 6f 74 65 20 6d |ning, an|d note m|
|00001790| 65 73 73 61 67 65 73 20 | 74 68 61 74 20 61 72 65 |essages |that are|
|000017a0| 20 6f 75 74 70 75 74 20 | 61 73 20 73 63 72 69 70 | output |as scrip|
|000017b0| 74 20 70 72 6f 62 6c 65 | 6d 73 20 61 72 65 20 65 |t proble|ms are e|
|000017c0| 6e 63 6f 75 6e 74 65 72 | 65 64 2e 20 20 53 63 72 |ncounter|ed. Scr|
|000017d0| 69 70 74 43 68 65 63 6b | 20 77 69 6c 6c 20 74 65 |iptCheck| will te|
|000017e0| 6c 6c 20 79 6f 75 20 77 | 68 65 72 65 20 69 74 20 |ll you w|here it |
|000017f0| 69 73 20 20 69 6e 20 74 | 68 65 20 63 68 65 63 6b |is in t|he check|
|00001800| 69 6e 67 20 70 72 6f 63 | 65 73 73 20 61 6e 64 20 |ing proc|ess and |
|00001810| 74 68 69 73 20 63 61 6e | 20 68 65 6c 70 20 79 6f |this can| help yo|
|00001820| 75 20 75 6e 64 65 72 73 | 74 61 6e 64 20 74 68 65 |u unders|tand the|
|00001830| 20 6d 65 73 73 61 67 65 | 73 20 74 68 61 74 20 69 | message|s that i|
|00001840| 74 20 70 72 65 73 65 6e | 74 73 2e 0d 2d 71 09 54 |t presen|ts..-q.T|
|00001850| 65 6c 6c 73 20 53 63 72 | 69 70 74 43 68 65 63 6b |ells Scr|iptCheck|
|00001860| 20 74 6f 20 70 65 72 66 | 6f 72 6d 20 61 20 71 75 | to perf|orm a qu|
|00001870| 69 63 6b 20 63 68 65 63 | 6b 20 6f 66 20 74 68 65 |ick chec|k of the|
|00001880| 20 73 63 72 69 70 74 3b | 20 74 6f 20 6e 6f 74 20 | script;| to not |
|00001890| 61 73 6b 20 66 6f 72 20 | 74 68 65 20 73 6f 75 72 |ask for |the sour|
|000018a0| 63 65 20 66 6c 6f 70 70 | 79 20 64 69 73 6b 73 2e |ce flopp|y disks.|
|000018b0| 20 20 54 68 69 73 20 6f | 70 74 69 6f 6e 20 69 73 | This o|ption is|
|000018c0| 20 75 73 65 64 20 66 6f | 72 20 70 72 65 6c 69 6d | used fo|r prelim|
|000018d0| 69 6e 61 72 79 20 64 65 | 76 65 6c 6f 70 6d 65 6e |inary de|velopmen|
|000018e0| 74 20 6f 66 20 73 63 72 | 69 70 74 73 2e 20 20 54 |t of scr|ipts. T|
|000018f0| 68 65 20 73 69 7a 65 20 | 66 69 65 6c 64 73 20 61 |he size |fields a|
|00001900| 6e 64 20 63 72 65 61 74 | 69 6f 6e 20 64 61 74 65 |nd creat|ion date|
|00001910| 20 66 69 65 6c 64 73 20 | 66 6f 72 20 74 68 65 20 | fields |for the |
|00001920| 76 61 72 69 6f 75 73 20 | 73 63 72 69 70 74 73 20 |various |scripts |
|00001930| 77 69 6c 6c 20 6e 6f 74 | 20 62 65 20 66 69 6c 6c |will not| be fill|
|00001940| 65 64 20 69 6e 2e 0d 2d | 72 09 43 61 75 73 65 73 |ed in..-|r.Causes|
|00001950| 20 53 63 72 69 70 74 43 | 68 65 63 6b 20 74 6f 20 | ScriptC|heck to |
|00001960| 64 69 73 70 6c 61 79 20 | d2 64 65 61 64 d3 20 73 |display |.dead. s|
|00001970| 63 72 69 70 74 20 72 65 | 73 6f 75 72 63 65 73 2e |cript re|sources.|
|00001980| 20 20 41 20 d2 64 65 61 | 64 d3 20 72 65 73 6f 75 | A .dea|d. resou|
|00001990| 72 63 65 20 69 73 20 61 | 20 72 65 73 6f 75 72 63 |rce is a| resourc|
|000019a0| 65 20 74 68 61 74 20 69 | 73 20 66 6f 75 6e 64 20 |e that i|s found |
|000019b0| 69 6e 20 74 68 65 20 73 | 63 72 69 70 74 20 66 69 |in the s|cript fi|
|000019c0| 6c 65 2c 20 62 75 74 20 | 69 73 20 6e 65 76 65 72 |le, but |is never|
|000019d0| 20 72 65 66 65 72 65 6e | 63 65 64 20 62 79 20 61 | referen|ced by a|
|000019e0| 6e 79 20 73 63 72 69 70 | 74 20 72 65 73 6f 75 72 |ny scrip|t resour|
|000019f0| 63 65 73 2e 20 20 46 6f | 72 20 65 78 61 6d 70 6c |ces. Fo|r exampl|
|00001a00| 65 2c 20 69 66 20 61 6e | 20 d4 69 6e 66 73 d5 20 |e, if an| .infs. |
|00001a10| 65 78 69 73 74 73 20 69 | 6e 20 74 68 65 20 73 63 |exists i|n the sc|
|00001a20| 72 69 70 74 2c 20 62 75 | 74 20 69 73 20 6e 65 76 |ript, bu|t is nev|
|00001a30| 65 72 20 72 65 66 65 72 | 65 6e 63 65 64 20 62 79 |er refer|enced by|
|00001a40| 20 61 20 d4 69 6e 72 6c | d5 2c 20 d4 69 6e 66 61 | a .inrl|., .infa|
|00001a50| d5 2c 20 6f 72 20 6f 74 | 68 65 72 20 73 63 72 69 |., or ot|her scri|
|00001a60| 70 74 20 72 65 73 6f 75 | 72 63 65 73 20 74 68 61 |pt resou|rces tha|
|00001a70| 74 20 63 61 6e 20 72 65 | 66 65 72 65 6e 63 65 20 |t can re|ference |
|00001a80| 61 6e 20 d4 69 6e 66 73 | d5 2c 20 74 68 65 6e 20 |an .infs|., then |
|00001a90| 69 74 20 69 73 20 6c 61 | 62 65 6c 65 64 20 61 20 |it is la|beled a |
|00001aa0| d2 64 65 61 64 d3 20 73 | 63 72 69 70 74 20 72 65 |.dead. s|cript re|
|00001ab0| 73 6f 75 72 63 65 2e 0d | 2d 73 09 43 61 75 73 65 |source..|-s.Cause|
|00001ac0| 73 20 53 63 72 69 70 74 | 43 68 65 63 6b 20 74 6f |s Script|Check to|
|00001ad0| 20 73 74 72 69 70 20 6f | 75 74 20 d2 64 65 61 64 | strip o|ut .dead|
|00001ae0| d3 20 73 63 72 69 70 74 | 20 72 65 73 6f 75 72 63 |. script| resourc|
|00001af0| 65 73 2e 20 20 41 73 20 | 64 65 73 63 72 69 62 65 |es. As |describe|
|00001b00| 64 20 61 62 6f 76 65 2c | 20 d2 64 65 61 64 d3 20 |d above,| .dead. |
|00001b10| 73 63 72 69 70 74 20 72 | 65 73 6f 75 72 63 65 73 |script r|esources|
|00001b20| 20 61 72 65 20 74 68 6f | 73 65 20 72 65 73 6f 75 | are tho|se resou|
|00001b30| 72 63 65 73 20 66 6f 75 | 6e 64 20 69 6e 20 74 68 |rces fou|nd in th|
|00001b40| 65 20 73 63 72 69 70 74 | 20 74 68 61 74 20 61 72 |e script| that ar|
|00001b50| 65 20 6e 65 76 65 72 20 | 72 65 66 65 72 65 6e 63 |e never |referenc|
|00001b60| 65 64 20 62 79 20 61 6e | 79 20 6f 74 68 65 72 20 |ed by an|y other |
|00001b70| 73 63 72 69 70 74 20 72 | 65 73 6f 75 72 63 65 73 |script r|esources|
|00001b80| 2e 20 20 54 68 69 73 20 | 73 74 72 69 70 20 6f 70 |. This |strip op|
|00001b90| 74 69 6f 6e 20 72 65 6d | 6f 76 65 73 20 74 68 65 |tion rem|oves the|
|00001ba0| 73 65 20 72 65 73 6f 75 | 72 63 65 73 2c 20 6d 69 |se resou|rces, mi|
|00001bb0| 6e 69 6d 69 7a 69 6e 67 | 20 73 63 72 69 70 74 20 |nimizing| script |
|00001bc0| 73 69 7a 65 2e 20 20 54 | 68 65 20 6e 65 78 74 20 |size. T|he next |
|00001bd0| 74 69 6d 65 20 79 6f 75 | 20 52 65 7a 20 74 68 65 |time you| Rez the|
|00001be0| 20 73 63 72 69 70 74 20 | 79 6f 75 20 63 6f 75 6c | script |you coul|
|00001bf0| 64 20 63 68 6f 6f 73 65 | 20 74 6f 20 72 65 6d 6f |d choose| to remo|
|00001c00| 76 65 20 74 68 65 73 65 | 20 64 65 61 64 20 72 65 |ve these| dead re|
|00001c10| 73 6f 75 72 63 65 73 20 | 79 6f 75 72 73 65 6c 66 |sources |yourself|
|00001c20| 20 6f 72 20 79 6f 75 20 | 63 61 6e 20 63 6f 6e 74 | or you |can cont|
|00001c30| 69 6e 75 65 20 74 6f 20 | 68 61 76 65 20 53 63 72 |inue to |have Scr|
|00001c40| 69 70 74 43 68 65 63 6b | 20 64 6f 20 69 74 20 66 |iptCheck| do it f|
|00001c50| 6f 72 20 79 6f 75 2e 20 | 20 55 73 65 20 74 68 69 |or you. | Use thi|
|00001c60| 73 20 66 65 61 74 75 72 | 65 20 76 65 72 79 20 63 |s featur|e very c|
|00001c70| 6f 6e 73 65 72 76 61 74 | 69 76 65 6c 79 3b 20 69 |onservat|ively; i|
|00001c80| 66 20 61 20 70 61 72 74 | 69 63 75 6c 61 72 20 72 |f a part|icular r|
|00001c90| 65 73 6f 75 72 63 65 20 | 74 68 61 74 20 53 63 72 |esource |that Scr|
|00001ca0| 69 70 74 43 68 65 63 6b | 20 73 61 79 73 20 69 73 |iptCheck| says is|
|00001cb0| 20 d2 64 65 61 64 d3 20 | 69 73 20 72 65 61 6c 6c | .dead. |is reall|
|00001cc0| 79 20 6e 6f 74 20 64 65 | 61 64 2c 20 74 68 65 6e |y not de|ad, then|
|00001cd0| 20 69 67 6e 6f 72 65 20 | 74 68 65 20 6e 6f 74 65 | ignore |the note|
|00001ce0| 20 61 6e 64 20 64 6f 20 | 4e 4f 54 20 75 73 65 20 | and do |NOT use |
|00001cf0| 74 68 65 20 2d 73 20 6f | 70 74 69 6f 6e 20 74 6f |the -s o|ption to|
|00001d00| 20 64 6f 20 74 68 65 20 | 73 74 72 69 70 70 69 6e | do the |strippin|
|00001d10| 67 2e 0d 0d 45 72 72 6f | 72 20 43 68 65 63 6b 69 |g...Erro|r Checki|
|00001d20| 6e 67 0d 54 68 69 73 20 | 63 68 61 70 74 65 72 20 |ng.This |chapter |
|00001d30| 64 65 73 63 72 69 62 65 | 73 20 74 68 65 20 65 72 |describe|s the er|
|00001d40| 72 6f 72 20 63 68 65 63 | 6b 69 6e 67 20 70 65 72 |ror chec|king per|
|00001d50| 66 6f 72 6d 65 64 20 62 | 79 20 53 63 72 69 70 74 |formed b|y Script|
|00001d60| 43 68 65 63 6b 2e 0d 54 | 68 65 20 63 6f 6d 70 6c |Check..T|he compl|
|00001d70| 65 78 69 74 79 20 6f 66 | 20 49 6e 73 74 61 6c 6c |exity of| Install|
|00001d80| 65 72 20 73 63 72 69 70 | 74 73 20 69 6e 63 72 65 |er scrip|ts incre|
|00001d90| 61 73 65 73 20 74 68 65 | 20 70 72 6f 62 61 62 69 |ases the| probabi|
|00001da0| 6c 69 74 79 20 6f 66 20 | 65 72 72 6f 72 73 2e 20 |lity of |errors. |
|00001db0| 20 54 68 65 20 74 79 70 | 65 73 20 6f 66 20 65 72 | The typ|es of er|
|00001dc0| 72 6f 72 73 20 66 61 6c | 6c 20 69 6e 74 6f 20 74 |rors fal|l into t|
|00001dd0| 77 6f 20 63 61 74 65 67 | 6f 72 69 65 73 3a 20 63 |wo categ|ories: c|
|00001de0| 6f 6e 73 69 73 74 65 6e | 63 79 20 65 72 72 6f 72 |onsisten|cy error|
|00001df0| 73 20 61 6e 64 20 6c 6f | 67 69 63 20 65 72 72 6f |s and lo|gic erro|
|00001e00| 72 73 2e 20 20 43 6f 6e | 73 69 73 74 65 6e 63 79 |rs. Con|sistency|
|00001e10| 20 65 72 72 6f 72 73 2c | 20 77 68 69 63 68 20 61 | errors,| which a|
|00001e20| 72 65 20 6d 6f 72 65 20 | 65 61 73 69 6c 79 20 64 |re more |easily d|
|00001e30| 69 61 67 6e 6f 73 65 64 | 20 61 6e 64 20 63 6f 72 |iagnosed| and cor|
|00001e40| 72 65 63 74 65 64 2c 20 | 69 6e 63 6c 75 64 65 20 |rected, |include |
|00001e50| 6d 69 73 73 69 6e 67 20 | 69 6e 66 6f 72 6d 61 74 |missing |informat|
|00001e60| 69 6f 6e 2c 20 73 75 63 | 68 20 61 73 20 6e 6f 6e |ion, suc|h as non|
|00001e70| 65 78 69 73 74 65 6e 74 | 20 66 69 6c 65 20 73 70 |existent| file sp|
|00001e80| 65 63 73 20 74 68 61 74 | 20 61 72 65 20 72 65 66 |ecs that| are ref|
|00001e90| 65 72 65 6e 63 65 64 20 | 69 6e 20 61 20 73 63 72 |erenced |in a scr|
|00001ea0| 69 70 74 2c 20 61 6e 64 | 20 61 6c 73 6f 20 65 78 |ipt, and| also ex|
|00001eb0| 74 72 61 6e 65 6f 75 73 | 20 69 6e 66 6f 72 6d 61 |traneous| informa|
|00001ec0| 74 69 6f 6e 2c 20 73 75 | 63 68 20 61 73 20 72 65 |tion, su|ch as re|
|00001ed0| 73 6f 75 72 63 65 73 20 | 74 68 61 74 20 61 72 65 |sources |that are|
|00001ee0| 20 70 72 65 73 65 6e 74 | 20 69 6e 20 74 68 65 20 | present| in the |
|00001ef0| 73 63 72 69 70 74 20 62 | 75 74 20 61 72 65 20 6e |script b|ut are n|
|00001f00| 65 76 65 72 20 72 65 66 | 65 72 65 6e 63 65 64 2e |ever ref|erenced.|
|00001f10| 20 20 43 6f 6e 73 69 73 | 74 65 6e 63 79 20 63 68 | Consis|tency ch|
|00001f20| 65 63 6b 69 6e 67 20 61 | 6c 73 6f 20 69 6e 63 6c |ecking a|lso incl|
|00001f30| 75 64 65 73 20 74 68 65 | 20 66 69 6c 65 73 2c 20 |udes the| files, |
|00001f40| 72 65 73 6f 75 72 63 65 | 73 20 61 6e 64 20 66 6f |resource|s and fo|
|00001f50| 6e 74 73 2c 20 65 78 70 | 65 63 74 65 64 20 6f 6e |nts, exp|ected on|
|00001f60| 20 74 68 65 20 73 6f 75 | 72 63 65 20 64 69 73 6b | the sou|rce disk|
|00001f70| 73 2e 20 20 53 63 72 69 | 70 74 43 68 65 63 6b 20 |s. Scri|ptCheck |
|00001f80| 63 61 6e 20 67 75 61 72 | 61 6e 74 65 65 20 74 68 |can guar|antee th|
|00001f90| 61 74 20 65 76 65 72 79 | 20 66 69 6c 65 2c 20 72 |at every| file, r|
|00001fa0| 65 73 6f 75 72 63 65 2c | 20 61 6e 64 20 66 6f 6e |esource,| and fon|
|00001fb0| 74 20 72 65 66 65 72 65 | 6e 63 65 64 20 69 6e 20 |t refere|nced in |
|00001fc0| 74 68 65 20 73 63 72 69 | 70 74 20 69 73 20 70 72 |the scri|pt is pr|
|00001fd0| 65 73 65 6e 74 20 6f 6e | 20 74 68 65 20 73 6f 75 |esent on| the sou|
|00001fe0| 72 63 65 20 64 69 73 6b | 73 2e 20 20 53 63 72 69 |rce disk|s. Scri|
|00001ff0| 70 74 43 68 65 63 6b 20 | 70 72 6f 76 69 64 65 73 |ptCheck |provides|
|00002000| 20 64 65 74 61 69 6c 65 | 64 20 65 72 72 6f 72 20 | detaile|d error |
|00002010| 6d 65 73 73 61 67 65 73 | 20 65 78 70 6c 61 69 6e |messages| explain|
|00002020| 69 6e 67 20 65 78 61 63 | 74 6c 79 20 77 68 61 74 |ing exac|tly what|
|00002030| 20 66 69 6c 65 73 2c 20 | 72 65 73 6f 75 72 63 65 | files, |resource|
|00002040| 73 2c 20 6f 72 20 66 6f | 6e 74 73 20 65 78 70 65 |s, or fo|nts expe|
|00002050| 63 74 65 64 20 6f 6e 20 | 74 68 65 20 73 6f 75 72 |cted on |the sour|
|00002060| 63 65 20 64 69 73 6b 73 | 20 61 72 65 20 6d 69 73 |ce disks| are mis|
|00002070| 73 69 6e 67 20 61 6e 64 | 20 61 6c 73 6f 20 77 68 |sing and| also wh|
|00002080| 61 74 20 73 63 72 69 70 | 74 20 72 65 73 6f 75 72 |at scrip|t resour|
|00002090| 63 65 73 20 61 72 65 20 | 6d 69 73 73 69 6e 67 20 |ces are |missing |
|000020a0| 66 72 6f 6d 20 61 20 73 | 63 72 69 70 74 2e 0d 45 |from a s|cript..E|
|000020b0| 72 72 6f 72 73 20 69 6e | 20 6c 6f 67 69 63 20 61 |rrors in| logic a|
|000020c0| 72 65 20 6f 66 74 65 6e | 20 6d 6f 72 65 20 73 75 |re often| more su|
|000020d0| 62 74 6c 65 20 74 68 61 | 6e 20 63 6f 6e 73 69 73 |btle tha|n consis|
|000020e0| 74 65 6e 63 79 20 65 72 | 72 6f 72 73 2e 20 20 46 |tency er|rors. F|
|000020f0| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 74 68 65 20 |or examp|le, the |
|00002100| 66 6c 61 67 20 62 69 74 | 73 20 74 68 61 74 20 61 |flag bit|s that a|
|00002110| 72 65 20 75 73 65 64 20 | 69 6e 20 6d 61 6e 79 20 |re used |in many |
|00002120| 49 6e 73 74 61 6c 6c 65 | 72 20 72 65 73 6f 75 72 |Installe|r resour|
|00002130| 63 65 20 74 79 70 65 73 | 20 65 61 73 69 6c 79 20 |ce types| easily |
|00002140| 61 6c 6c 6f 77 20 66 6f | 72 20 6c 6f 67 69 63 20 |allow fo|r logic |
|00002150| 65 72 72 6f 72 73 2e 20 | 20 54 68 65 73 65 20 66 |errors. | These f|
|00002160| 6c 61 67 20 62 69 74 73 | 20 61 6c 6c 6f 77 20 74 |lag bits| allow t|
|00002170| 68 65 20 73 63 72 69 70 | 74 20 77 72 69 74 65 72 |he scrip|t writer|
|00002180| 20 74 6f 20 73 70 65 63 | 69 66 79 20 74 68 61 74 | to spec|ify that|
|00002190| 20 61 20 66 69 6c 65 20 | 69 73 20 75 70 64 61 74 | a file |is updat|
|000021a0| 65 20 6f 6e 6c 79 2c 20 | 63 6f 70 79 20 64 61 74 |e only, |copy dat|
|000021b0| 61 20 66 6f 72 6b 2c 20 | 64 65 6c 65 74 65 20 6f |a fork, |delete o|
|000021c0| 6e 20 72 65 6d 6f 76 65 | 2c 20 61 6e 64 20 6d 61 |n remove|, and ma|
|000021d0| 6e 79 20 6f 74 68 65 72 | 20 6f 70 74 69 6f 6e 73 |ny other| options|
|000021e0| 2e 20 20 43 65 72 74 61 | 69 6e 20 63 6f 6d 62 69 |. Certa|in combi|
|000021f0| 6e 61 74 69 6f 6e 73 20 | 6f 66 20 74 68 65 73 65 |nations |of these|
|00002200| 20 62 69 74 73 20 61 72 | 65 20 63 6f 6d 70 6c 65 | bits ar|e comple|
|00002210| 74 65 6c 79 20 6d 65 61 | 6e 69 6e 67 6c 65 73 73 |tely mea|ningless|
|00002220| 20 6f 72 2c 20 69 6e 20 | 6f 74 68 65 72 20 63 61 | or, in |other ca|
|00002230| 73 65 73 2c 20 6a 75 73 | 74 20 61 6d 62 69 67 75 |ses, jus|t ambigu|
|00002240| 6f 75 73 2e 20 20 46 6f | 72 20 65 78 61 6d 70 6c |ous. Fo|r exampl|
|00002250| 65 2c 20 69 66 20 74 68 | 65 20 75 70 64 61 74 65 |e, if th|e update|
|00002260| 20 6f 6e 6c 79 20 62 69 | 74 20 69 73 20 73 65 74 | only bi|t is set|
|00002270| 20 61 6e 64 20 74 68 65 | 20 63 6f 70 79 20 62 69 | and the| copy bi|
|00002280| 74 20 69 73 20 63 6c 65 | 61 72 20 74 68 65 6e 20 |t is cle|ar then |
|00002290| 74 68 65 20 66 69 6c 65 | 20 77 69 6c 6c 20 6e 6f |the file| will no|
|000022a0| 74 20 62 65 20 63 6f 70 | 69 65 64 20 74 6f 20 74 |t be cop|ied to t|
|000022b0| 68 65 20 74 61 72 67 65 | 74 20 65 76 65 6e 20 69 |he targe|t even i|
|000022c0| 66 20 69 74 20 61 6c 72 | 65 61 64 79 20 65 78 69 |f it alr|eady exi|
|000022d0| 73 74 73 20 6f 6e 20 74 | 68 65 20 74 61 72 67 65 |sts on t|he targe|
|000022e0| 74 2e 20 20 54 68 69 73 | 20 69 73 20 6e 6f 74 20 |t. This| is not |
|000022f0| 63 6f 6d 70 6c 65 74 65 | 6c 79 20 77 72 6f 6e 67 |complete|ly wrong|
|00002300| 2c 20 62 75 74 20 69 74 | 20 69 73 20 75 73 65 66 |, but it| is usef|
|00002310| 75 6c 20 66 6f 72 20 53 | 63 72 69 70 74 43 68 65 |ul for S|criptChe|
|00002320| 63 6b 20 74 6f 20 69 6e | 66 6f 72 6d 20 74 68 65 |ck to in|form the|
|00002330| 20 77 72 69 74 65 72 20 | 74 68 61 74 20 74 68 65 | writer |that the|
|00002340| 20 75 70 64 61 74 65 20 | 77 69 6c 6c 20 6e 6f 74 | update |will not|
|00002350| 20 6f 63 63 75 72 20 77 | 69 74 68 20 74 68 65 20 | occur w|ith the |
|00002360| 63 6f 70 79 20 62 69 74 | 20 63 6c 65 61 72 2c 20 |copy bit| clear, |
|00002370| 77 68 69 63 68 20 61 6c | 65 72 74 73 20 74 68 65 |which al|erts the|
|00002380| 20 77 72 69 74 65 72 20 | 74 6f 20 61 20 70 6f 73 | writer |to a pos|
|00002390| 73 69 62 6c 65 20 65 72 | 72 6f 72 2e 20 20 44 69 |sible er|ror. Di|
|000023a0| 61 67 6e 6f 73 69 73 20 | 6f 66 20 65 72 72 6f 72 |agnosis |of error|
|000023b0| 73 20 69 6e 20 6c 6f 67 | 69 63 20 61 6c 73 6f 20 |s in log|ic also |
|000023c0| 69 6e 63 6c 75 64 65 20 | 72 61 6e 67 65 20 63 68 |include |range ch|
|000023d0| 65 63 6b 69 6e 67 20 6f | 66 20 76 61 6c 75 65 73 |ecking o|f values|
|000023e0| 20 73 75 63 68 20 61 73 | 20 74 61 72 67 65 74 20 | such as| target |
|000023f0| 64 69 73 6b 20 73 69 7a | 65 20 66 6f 72 20 6c 6f |disk siz|e for lo|
|00002400| 67 69 63 20 66 6c 61 77 | 73 2e 20 20 46 6f 72 20 |gic flaw|s. For |
|00002410| 65 78 61 6d 70 6c 65 20 | 69 66 20 74 68 65 20 6d |example |if the m|
|00002420| 69 6e 69 6d 75 6d 20 64 | 69 73 6b 20 73 69 7a 65 |inimum d|isk size|
|00002430| 20 69 73 20 67 72 65 61 | 74 65 72 20 74 68 61 6e | is grea|ter than|
|00002440| 20 74 68 65 20 6d 61 78 | 69 6d 75 6d 20 64 69 73 | the max|imum dis|
|00002450| 6b 20 73 69 7a 65 20 28 | 61 6e 64 20 74 68 65 20 |k size (|and the |
|00002460| 6d 61 78 69 6d 75 6d 20 | 69 73 20 6e 6f 74 20 7a |maximum |is not z|
|00002470| 65 72 6f 2c 20 77 68 69 | 63 68 20 69 73 20 61 20 |ero, whi|ch is a |
|00002480| 73 70 65 63 69 61 6c 20 | 63 61 73 65 29 2c 20 74 |special |case), t|
|00002490| 68 65 20 77 72 69 74 65 | 72 20 69 73 20 61 6c 65 |he write|r is ale|
|000024a0| 72 74 65 64 20 74 68 61 | 74 20 74 68 69 73 20 77 |rted tha|t this w|
|000024b0| 69 6c 6c 20 6e 65 76 65 | 72 20 62 65 20 74 72 75 |ill neve|r be tru|
|000024c0| 65 20 61 6e 64 20 74 68 | 65 20 72 75 6c 65 20 77 |e and th|e rule w|
|000024d0| 69 6c 6c 20 6e 65 76 65 | 72 20 66 69 72 65 2e 20 |ill neve|r fire. |
|000024e0| 20 0d 53 63 72 69 70 74 | 43 68 65 63 6b 20 63 6f | .Script|Check co|
|000024f0| 6e 73 69 64 65 72 73 20 | 73 6f 6d 65 20 65 72 72 |nsiders |some err|
|00002500| 6f 72 73 20 6d 6f 72 65 | 20 73 65 76 65 72 65 20 |ors more| severe |
|00002510| 74 68 61 6e 20 6f 74 68 | 65 72 73 2e 20 20 41 20 |than oth|ers. A |
|00002520| 74 68 72 65 65 2d 6c 65 | 76 65 6c 20 65 72 72 6f |three-le|vel erro|
|00002530| 72 20 72 65 70 6f 72 74 | 69 6e 67 20 6d 65 63 68 |r report|ing mech|
|00002540| 61 6e 69 73 6d 20 70 72 | 6f 76 69 64 65 73 20 74 |anism pr|ovides t|
|00002550| 68 65 20 73 63 72 69 70 | 74 20 77 72 69 74 65 72 |he scrip|t writer|
|00002560| 20 77 69 74 68 20 61 20 | 70 72 65 63 69 73 65 20 | with a |precise |
|00002570| 69 64 65 61 20 6f 66 20 | 74 68 65 20 73 65 76 65 |idea of |the seve|
|00002580| 72 69 74 79 20 6f 66 20 | 74 68 65 20 70 72 6f 62 |rity of |the prob|
|00002590| 6c 65 6d 2e 20 20 54 68 | 65 20 6d 6f 73 74 20 73 |lem. Th|e most s|
|000025a0| 65 76 65 72 65 20 70 72 | 6f 62 6c 65 6d 73 20 61 |evere pr|oblems a|
|000025b0| 72 65 20 74 65 72 6d 65 | 64 20 45 72 72 6f 72 73 |re terme|d Errors|
|000025c0| 2c 20 66 6f 6c 6c 6f 77 | 65 64 20 62 79 20 6c 65 |, follow|ed by le|
|000025d0| 73 73 20 73 65 76 65 72 | 65 20 57 61 72 6e 69 6e |ss sever|e Warnin|
|000025e0| 67 73 2c 20 61 6e 64 20 | 66 69 6e 61 6c 6c 79 20 |gs, and |finally |
|000025f0| 74 68 65 20 6c 65 61 73 | 74 20 73 65 76 65 72 65 |the leas|t severe|
|00002600| 20 4e 6f 74 65 73 20 6d | 65 73 73 61 67 65 73 2e | Notes m|essages.|
|00002610| 20 20 41 6e 20 45 72 72 | 6f 72 20 6d 75 73 74 20 | An Err|or must |
|00002620| 62 65 20 66 69 78 65 64 | 20 66 6f 72 20 74 68 65 |be fixed| for the|
|00002630| 20 73 63 72 69 70 74 20 | 74 6f 20 62 65 20 75 73 | script |to be us|
|00002640| 61 62 6c 65 20 62 79 20 | 74 68 65 20 49 6e 73 74 |able by |the Inst|
|00002650| 61 6c 6c 65 72 2e 20 20 | 57 61 72 6e 69 6e 67 73 |aller. |Warnings|
|00002660| 20 63 61 6e 20 62 65 20 | 66 69 78 65 64 20 69 6e | can be |fixed in|
|00002670| 20 6f 72 64 65 72 20 74 | 6f 20 67 75 61 72 61 6e | order t|o guaran|
|00002680| 74 65 65 20 72 6f 62 75 | 73 74 6e 65 73 73 20 6f |tee robu|stness o|
|00002690| 66 20 74 68 65 20 73 63 | 72 69 70 74 2c 20 62 75 |f the sc|ript, bu|
|000026a0| 74 20 6d 61 79 20 6e 6f | 74 20 63 61 75 73 65 20 |t may no|t cause |
|000026b0| 6e 6f 74 69 63 65 61 62 | 6c 65 20 70 72 6f 62 6c |noticeab|le probl|
|000026c0| 65 6d 73 2e 20 20 4e 6f | 74 65 20 6c 65 76 65 6c |ems. No|te level|
|000026d0| 20 6d 65 73 73 61 67 65 | 73 20 63 61 6e 20 6f 66 | message|s can of|
|000026e0| 74 65 6e 20 62 65 20 69 | 67 6e 6f 72 65 64 2c 20 |ten be i|gnored, |
|000026f0| 62 75 74 20 63 61 6e 20 | 70 69 6e 70 6f 69 6e 74 |but can |pinpoint|
|00002700| 20 73 75 62 74 6c 65 20 | 70 72 6f 62 6c 65 6d 73 | subtle |problems|
|00002710| 2e 20 20 59 6f 75 20 63 | 61 6e 20 65 61 73 69 6c |. You c|an easil|
|00002720| 79 20 64 69 66 66 65 72 | 65 6e 74 69 61 74 65 20 |y differ|entiate |
|00002730| 62 65 74 77 65 65 6e 20 | 74 68 65 73 65 20 74 68 |between |these th|
|00002740| 72 65 65 20 74 79 70 65 | 73 20 6f 66 20 20 6d 65 |ree type|s of me|
|00002750| 73 73 61 67 65 73 20 61 | 73 20 53 63 72 69 70 74 |ssages a|s Script|
|00002760| 43 68 65 63 6b 20 70 72 | 65 66 69 78 65 73 20 65 |Check pr|efixes e|
|00002770| 61 63 68 20 6d 65 73 73 | 61 67 65 20 77 69 74 68 |ach mess|age with|
|00002780| 20 65 69 74 68 65 72 20 | 3a 0d 23 45 72 72 6f 72 | either |:.#Error|
|00002790| 3a 2c 20 23 57 61 72 6e | 69 6e 67 3a 2c 20 6f 72 |:, #Warn|ing:, or|
|000027a0| 20 23 4e 6f 74 65 2e 0d | 43 6f 6e 73 69 73 74 65 | #Note..|Consiste|
|000027b0| 6e 63 79 20 45 72 72 6f | 72 73 0d 54 68 65 20 63 |ncy Erro|rs.The c|
|000027c0| 68 65 63 6b 69 6e 67 20 | 70 65 72 66 6f 72 6d 65 |hecking |performe|
|000027d0| 64 20 6f 6e 20 74 68 65 | 20 73 63 72 69 70 74 20 |d on the| script |
|000027e0| 69 74 73 65 6c 66 20 61 | 73 73 75 72 65 73 20 74 |itself a|ssures t|
|000027f0| 68 65 20 77 72 69 74 65 | 72 20 74 68 61 74 20 61 |he write|r that a|
|00002800| 6c 6c 20 72 65 66 65 72 | 65 6e 63 65 64 20 72 65 |ll refer|enced re|
|00002810| 73 6f 75 72 63 65 73 20 | 65 78 69 73 74 20 61 6e |sources |exist an|
|00002820| 64 20 61 6c 73 6f 20 74 | 68 61 74 20 61 6c 6c 20 |d also t|hat all |
|00002830| 72 65 73 6f 75 72 63 65 | 73 20 69 6e 20 61 20 73 |resource|s in a s|
|00002840| 63 72 69 70 74 20 61 72 | 65 20 6e 65 63 65 73 73 |cript ar|e necess|
|00002850| 61 72 79 2e 20 20 57 69 | 74 68 20 64 69 73 6b 20 |ary. Wi|th disk |
|00002860| 73 70 61 63 65 20 62 65 | 63 6f 6d 69 6e 67 20 61 |space be|coming a|
|00002870| 20 6d 61 6a 6f 72 20 63 | 6f 6e 63 65 72 6e 20 61 | major c|oncern a|
|00002880| 74 20 74 68 69 73 20 74 | 69 6d 65 2c 20 72 65 6d |t this t|ime, rem|
|00002890| 6f 76 69 6e 67 20 75 6e | 6e 65 65 64 65 64 20 72 |oving un|needed r|
|000028a0| 65 73 6f 75 72 63 65 73 | 20 66 72 6f 6d 20 73 63 |esources| from sc|
|000028b0| 72 69 70 74 73 20 63 61 | 6e 20 62 65 20 61 6e 20 |ripts ca|n be an |
|000028c0| 69 6d 70 6f 72 74 61 6e | 74 20 63 6f 6e 63 65 72 |importan|t concer|
|000028d0| 6e 20 6f 66 20 73 63 72 | 69 70 74 20 77 72 69 74 |n of scr|ipt writ|
|000028e0| 65 72 73 2e 20 20 54 68 | 65 20 73 65 63 6f 6e 64 |ers. Th|e second|
|000028f0| 20 66 6f 72 6d 20 6f 66 | 20 63 6f 6e 73 69 73 74 | form of| consist|
|00002900| 65 6e 63 79 20 63 68 65 | 63 6b 69 6e 67 20 69 73 |ency che|cking is|
|00002910| 20 64 6f 6e 65 20 6f 6e | 20 74 68 65 20 73 6f 75 | done on| the sou|
|00002920| 72 63 65 20 64 69 73 6b | 73 20 74 6f 20 63 6f 6e |rce disk|s to con|
|00002930| 66 69 72 6d 20 74 68 61 | 74 20 61 6c 6c 20 66 69 |firm tha|t all fi|
|00002940| 6c 65 73 20 61 6e 64 20 | 72 65 73 6f 75 72 63 65 |les and |resource|
|00002950| 73 20 72 65 66 65 72 65 | 6e 63 65 64 20 69 6e 20 |s refere|nced in |
|00002960| 74 68 65 20 73 63 72 69 | 70 74 20 65 78 69 73 74 |the scri|pt exist|
|00002970| 20 69 6e 20 74 68 65 20 | 64 65 73 69 67 6e 61 74 | in the |designat|
|00002980| 65 64 20 70 6c 61 63 65 | 73 20 6f 6e 20 74 68 65 |ed place|s on the|
|00002990| 20 70 72 6f 70 65 72 20 | 64 69 73 6b 73 2e 0d 54 | proper |disks..T|
|000029a0| 68 65 20 63 68 65 63 6b | 73 20 77 69 6c 6c 20 67 |he check|s will g|
|000029b0| 75 61 72 61 6e 74 65 65 | 20 65 78 69 73 74 65 6e |uarantee| existen|
|000029c0| 63 65 20 6f 66 20 61 6c | 6c 3a 0d 6e 09 d4 69 6e |ce of al|l:.n..in|
|000029d0| 72 6c d5 20 20 72 65 73 | 6f 75 72 63 65 73 20 72 |rl. res|ources r|
|000029e0| 65 66 65 72 65 6e 63 65 | 64 20 62 79 20 d4 69 6e |eference|d by .in|
|000029f0| 66 72 d5 20 72 65 73 6f | 75 72 63 65 73 0d 6e 09 |fr. reso|urces.n.|
|00002a00| d4 69 6e 70 6b d5 20 72 | 65 73 6f 75 72 63 65 73 |.inpk. r|esources|
|00002a10| 20 72 65 66 65 72 65 6e | 63 65 64 20 62 79 20 d4 | referen|ced by .|
|00002a20| 69 6e 72 6c d5 20 72 65 | 73 6f 75 72 63 65 73 0d |inrl. re|sources.|
|00002a30| 6e 09 d4 69 63 6d 74 d5 | 20 72 65 73 6f 75 72 63 |n..icmt.| resourc|
|00002a40| 65 73 20 72 65 66 65 72 | 65 6e 63 65 64 20 62 79 |es refer|enced by|
|00002a50| 20 d4 69 6e 70 6b d5 20 | 72 65 73 6f 75 72 63 65 | .inpk. |resource|
|00002a60| 73 0d 6e 09 d4 69 6e 66 | 61 d5 2c 20 d4 69 6e 72 |s.n..inf|a., .inr|
|00002a70| 61 d5 2c 20 d4 69 6e 62 | 62 d5 2c 20 d4 69 6e 61 |a., .inb|b., .ina|
|00002a80| 61 d5 2c 20 d4 69 6e 61 | 74 d5 2c 20 d4 69 6e 66 |a., .ina|t., .inf|
|00002a90| 66 d5 2c 20 61 6e 64 20 | d4 69 6e 70 6b d5 20 72 |f., and |.inpk. r|
|00002aa0| 65 73 6f 75 72 63 65 73 | 20 72 65 66 65 72 65 6e |esources| referen|
|00002ab0| 63 65 64 20 62 79 20 d4 | 69 6e 70 6b d5 20 72 65 |ced by .|inpk. re|
|00002ac0| 73 6f 75 72 63 65 73 0d | 6e 09 d4 69 6e 66 73 d5 |sources.|n..infs.|
|00002ad0| 20 72 65 73 6f 75 72 63 | 65 73 20 72 65 66 65 72 | resourc|es refer|
|00002ae0| 65 6e 63 65 64 20 62 79 | 20 d4 69 6e 66 61 d5 2c |enced by| .infa.,|
|00002af0| 20 d4 69 6e 72 61 d5 2c | 20 69 6e 62 62 d5 2c 20 | .inra.,| inbb., |
|00002b00| d4 69 6e 61 74 d5 2c 20 | d4 69 6e 66 66 d5 2c 20 |.inat., |.inff., |
|00002b10| 61 6e 64 20 d4 69 6e 72 | 6c d5 20 72 65 73 6f 75 |and .inr|l. resou|
|00002b20| 72 63 65 73 0d 6e 09 66 | 69 6c 65 73 20 6f 6e 20 |rces.n.f|iles on |
|00002b30| 73 6f 75 72 63 65 20 64 | 69 73 6b 73 20 74 68 61 |source d|isks tha|
|00002b40| 74 20 61 72 65 20 72 65 | 66 65 72 65 6e 63 65 64 |t are re|ferenced|
|00002b50| 20 62 79 20 d4 69 6e 66 | 73 d5 20 72 65 73 6f 75 | by .inf|s. resou|
|00002b60| 72 63 65 73 20 20 0d 6e | 09 d4 49 43 4f 4e d5 2c |rces .n|..ICON.,|
|00002b70| 20 d4 69 63 6c 34 d5 2c | 20 6f 72 20 d4 69 63 6c | .icl4.,| or .icl|
|00002b80| 38 d5 20 72 65 73 6f 75 | 72 63 65 73 20 72 65 66 |8. resou|rces ref|
|00002b90| 65 72 65 6e 63 65 64 20 | 62 79 20 d4 69 63 6d 74 |erenced |by .icmt|
|00002ba0| d5 20 72 65 73 6f 75 72 | 63 65 73 0d 6e 09 55 73 |. resour|ces.n.Us|
|00002bb0| 65 72 20 66 75 6e 63 74 | 69 6f 6e 20 63 6f 64 65 |er funct|ion code|
|00002bc0| 20 72 65 73 6f 75 72 63 | 65 73 20 72 65 66 65 72 | resourc|es refer|
|00002bd0| 65 6e 63 65 64 20 62 79 | 20 d4 69 6e 72 6c d5 20 |enced by| .inrl. |
|00002be0| 61 6e 64 20 d4 69 6e 61 | 61 d5 20 72 65 73 6f 75 |and .ina|a. resou|
|00002bf0| 72 63 65 73 2e 20 20 54 | 68 65 73 65 20 75 73 65 |rces. T|hese use|
|00002c00| 72 20 66 75 6e 63 74 69 | 6f 6e 20 72 65 73 6f 75 |r functi|on resou|
|00002c10| 72 63 65 73 20 6d 75 73 | 74 20 65 78 69 73 74 20 |rces mus|t exist |
|00002c20| 69 6e 20 74 68 65 20 73 | 63 72 69 70 74 20 69 74 |in the s|cript it|
|00002c30| 73 65 6c 66 2e 0d 6e 09 | d4 62 6f 6f 74 d5 20 72 |self..n.|.boot. r|
|00002c40| 65 73 6f 75 72 63 65 73 | 20 72 65 66 65 72 65 6e |esources| referen|
|00002c50| 63 65 64 20 62 79 20 d4 | 69 6e 62 62 d5 20 72 65 |ced by .|inbb. re|
|00002c60| 73 6f 75 72 63 65 73 0d | 6e 09 d4 73 66 6e 74 d5 |sources.|n..sfnt.|
|00002c70| 2c 20 d4 4e 46 4e 54 d5 | 2c 20 d4 46 4f 4e 54 d5 |, .NFNT.|, .FONT.|
|00002c80| 2c 20 61 6e 64 20 61 6c | 6c 20 70 6f 69 6e 74 20 |, and al|l point |
|00002c90| 73 69 7a 65 73 20 6f 66 | 20 66 6f 6e 74 20 72 65 |sizes of| font re|
|00002ca0| 73 6f 75 72 63 65 73 20 | 72 65 66 65 72 65 6e 63 |sources |referenc|
|00002cb0| 65 64 20 62 79 20 d4 69 | 6e 66 66 d5 20 72 65 73 |ed by .i|nff. res|
|00002cc0| 6f 75 72 63 65 73 2e 0d | 49 66 20 61 6e 79 20 72 |ources..|If any r|
|00002cd0| 65 66 65 72 65 6e 63 65 | 64 20 72 65 73 6f 75 72 |eference|d resour|
|00002ce0| 63 65 73 20 61 72 65 20 | 6e 6f 74 20 66 6f 75 6e |ces are |not foun|
|00002cf0| 64 2c 20 74 68 65 6e 20 | 69 6e 66 6f 72 6d 61 74 |d, then |informat|
|00002d00| 69 76 65 20 65 72 72 6f | 72 20 6d 65 73 73 61 67 |ive erro|r messag|
|00002d10| 65 73 20 61 72 65 20 64 | 69 73 70 6c 61 79 65 64 |es are d|isplayed|
|00002d20| 2e 20 20 0d 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |. .For |example,|
|00002d30| 20 69 66 20 61 6e 20 d4 | 69 6e 72 6c d5 20 72 65 | if an .|inrl. re|
|00002d40| 66 65 72 65 6e 63 65 73 | 20 61 6e 20 d4 69 6e 66 |ferences| an .inf|
|00002d50| 73 d5 20 61 6e 64 20 74 | 68 65 20 d4 69 6e 66 73 |s. and t|he .infs|
|00002d60| d5 20 69 73 20 6e 6f 74 | 20 66 6f 75 6e 64 20 69 |. is not| found i|
|00002d70| 6e 20 74 68 65 20 73 63 | 72 69 70 74 2c 20 74 68 |n the sc|ript, th|
|00002d80| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6d 65 73 73 |e follow|ing mess|
|00002d90| 61 67 65 20 77 69 6c 6c | 20 62 65 20 6f 75 74 70 |age will| be outp|
|00002da0| 75 74 3a 0d 23 20 45 72 | 72 6f 72 3a 20 20 27 69 |ut:.# Er|ror: 'i|
|00002db0| 6e 66 73 27 20 49 44 20 | 3d 20 32 35 38 20 72 65 |nfs' ID |= 258 re|
|00002dc0| 66 65 72 65 6e 63 65 64 | 20 66 72 6f 6d 20 27 69 |ferenced| from 'i|
|00002dd0| 6e 72 6c 27 20 49 44 20 | 3d 20 39 39 37 20 64 6f |nrl' ID |= 997 do|
|00002de0| 65 73 20 6e 6f 74 20 65 | 78 69 73 74 2e 0d 54 68 |es not e|xist..Th|
|00002df0| 65 20 73 63 72 69 70 74 | 20 77 72 69 74 65 72 20 |e script| writer |
|00002e00| 63 61 6e 20 74 68 65 6e | 20 69 6d 6d 65 64 69 61 |can then| immedia|
|00002e10| 74 65 6c 79 20 67 6f 20 | 62 61 63 6b 20 74 6f 20 |tely go |back to |
|00002e20| 74 68 65 20 73 63 72 69 | 70 74 20 73 6f 75 72 63 |the scri|pt sourc|
|00002e30| 65 73 20 61 6e 64 20 66 | 69 67 75 72 65 20 6f 75 |es and f|igure ou|
|00002e40| 74 20 77 68 79 20 d4 69 | 6e 66 73 d5 20 49 44 20 |t why .i|nfs. ID |
|00002e50| 3d 20 32 35 38 20 77 61 | 73 20 6e 6f 74 20 52 65 |= 258 wa|s not Re|
|00002e60| 7a d5 64 20 69 6e 74 6f | 20 74 68 65 20 73 63 72 |z.d into| the scr|
|00002e70| 69 70 74 2e 0d 53 69 6d | 69 6c 61 72 6c 79 2c 20 |ipt..Sim|ilarly, |
|00002e80| 69 66 20 61 20 66 69 6c | 65 20 63 61 6e 6e 6f 74 |if a fil|e cannot|
|00002e90| 20 62 65 20 6c 6f 63 61 | 74 65 64 20 6f 6e 20 74 | be loca|ted on t|
|00002ea0| 68 65 20 73 6f 75 72 63 | 65 20 64 69 73 6b 73 2c |he sourc|e disks,|
|00002eb0| 20 61 20 6d 65 73 73 61 | 67 65 20 73 75 63 68 20 | a messa|ge such |
|00002ec0| 61 73 20 74 68 69 73 20 | 69 73 20 64 69 73 70 6c |as this |is displ|
|00002ed0| 61 79 65 64 3a 0d 23 20 | 45 72 72 6f 72 3a 20 20 |ayed:.# |Error: |
|00002ee0| 20 53 6f 75 72 63 65 20 | 66 69 6c 65 20 43 6f 6f | Source |file Coo|
|00002ef0| 6c 20 44 65 6d 6f 73 3a | 4c 6f 74 75 73 20 31 32 |l Demos:|Lotus 12|
|00002f00| 33 3f 3f 20 72 65 66 65 | 72 65 6e 63 65 64 20 66 |3?? refe|renced f|
|00002f10| 72 6f 6d 20 27 69 6e 66 | 73 27 20 49 44 20 3d 20 |rom 'inf|s' ID = |
|00002f20| 33 30 30 35 20 6e 6f 74 | 20 66 6f 75 6e 64 20 6f |3005 not| found o|
|00002f30| 6e 20 73 6f 75 72 63 65 | 20 64 69 73 6b 2e 0d 54 |n source| disk..T|
|00002f40| 68 65 20 73 63 72 69 70 | 74 20 77 72 69 74 65 72 |he scrip|t writer|
|00002f50| 20 63 61 6e 20 74 68 65 | 6e 20 64 65 74 65 72 6d | can the|n determ|
|00002f60| 69 6e 65 20 77 68 65 74 | 68 65 72 20 74 68 65 20 |ine whet|her the |
|00002f70| d4 69 6e 66 73 d5 20 73 | 70 65 63 69 66 69 65 64 |.infs. s|pecified|
|00002f80| 20 61 6e 20 69 6e 63 6f | 72 72 65 63 74 20 70 61 | an inco|rrect pa|
|00002f90| 74 68 20 6f 72 20 74 68 | 65 20 66 69 6c 65 20 77 |th or th|e file w|
|00002fa0| 61 73 20 73 69 6d 70 6c | 79 20 6e 6f 74 20 69 6e |as simpl|y not in|
|00002fb0| 20 74 68 65 20 63 6f 72 | 72 65 63 74 20 6c 6f 63 | the cor|rect loc|
|00002fc0| 61 74 69 6f 6e 20 6f 6e | 20 74 68 65 20 73 6f 75 |ation on| the sou|
|00002fd0| 72 63 65 20 64 69 73 6b | 73 2e 0d 54 68 65 20 63 |rce disk|s..The c|
|00002fe0| 6f 6e 73 69 73 74 65 6e | 63 79 20 63 68 65 63 6b |onsisten|cy check|
|00002ff0| 73 20 61 6c 73 6f 20 61 | 6c 65 72 74 20 74 68 65 |s also a|lert the|
|00003000| 20 73 63 72 69 70 74 20 | 77 72 69 74 65 72 20 74 | script |writer t|
|00003010| 6f 20 d2 64 65 61 64 d3 | 20 72 65 73 6f 75 72 63 |o .dead.| resourc|
|00003020| 65 73 20 74 68 61 74 20 | 61 72 65 20 6e 6f 74 20 |es that |are not |
|00003030| 6e 65 65 64 65 64 20 69 | 6e 20 74 68 65 20 73 63 |needed i|n the sc|
|00003040| 72 69 70 74 2e 20 20 41 | 20 d2 64 65 61 64 d3 20 |ript. A| .dead. |
|00003050| 72 65 73 6f 75 72 63 65 | 20 69 73 20 61 20 72 65 |resource| is a re|
|00003060| 73 6f 75 72 63 65 20 74 | 68 61 74 20 69 73 20 66 |source t|hat is f|
|00003070| 6f 75 6e 64 20 69 6e 20 | 74 68 65 20 73 63 72 69 |ound in |the scri|
|00003080| 70 74 20 66 69 6c 65 2c | 20 62 75 74 20 69 73 20 |pt file,| but is |
|00003090| 6e 65 76 65 72 20 72 65 | 66 65 72 65 6e 63 65 64 |never re|ferenced|
|000030a0| 20 62 79 20 61 6e 79 20 | 73 63 72 69 70 74 20 72 | by any |script r|
|000030b0| 65 73 6f 75 72 63 65 73 | 2e 20 20 46 6f 72 20 65 |esources|. For e|
|000030c0| 78 61 6d 70 6c 65 2c 20 | 69 66 20 61 6e 20 d4 69 |xample, |if an .i|
|000030d0| 6e 66 73 d5 20 65 78 69 | 73 74 73 20 69 6e 20 74 |nfs. exi|sts in t|
|000030e0| 68 65 20 73 63 72 69 70 | 74 2c 20 62 75 74 20 69 |he scrip|t, but i|
|000030f0| 73 20 6e 65 76 65 72 20 | 72 65 66 65 72 65 6e 63 |s never |referenc|
|00003100| 65 64 20 62 79 20 61 20 | d4 69 6e 72 6c d5 2c 20 |ed by a |.inrl., |
|00003110| d4 69 6e 66 61 d5 2c 20 | 6f 72 20 6f 74 68 65 72 |.infa., |or other|
|00003120| 20 73 63 72 69 70 74 20 | 72 65 73 6f 75 72 63 65 | script |resource|
|00003130| 73 20 74 68 61 74 20 63 | 61 6e 20 72 65 66 65 72 |s that c|an refer|
|00003140| 65 6e 63 65 20 61 6e 20 | d4 69 6e 66 73 d5 2c 20 |ence an |.infs., |
|00003150| 74 68 65 6e 20 69 74 20 | 69 73 20 6c 61 62 65 6c |then it |is label|
|00003160| 65 64 20 61 20 d2 64 65 | 61 64 d3 20 73 63 72 69 |ed a .de|ad. scri|
|00003170| 70 74 20 72 65 73 6f 75 | 72 63 65 2e 0d 54 68 65 |pt resou|rce..The|
|00003180| 20 63 68 65 63 6b 73 20 | 77 69 6c 6c 20 65 6e 73 | checks |will ens|
|00003190| 75 72 65 20 74 68 61 74 | 20 61 6c 6c 3a 0d 6e 09 |ure that| all:.n.|
|000031a0| d4 69 6e 72 6c d5 20 72 | 65 73 6f 75 72 63 65 73 |.inrl. r|esources|
|000031b0| 20 61 72 65 20 61 63 74 | 75 61 6c 6c 79 20 72 65 | are act|ually re|
|000031c0| 66 65 72 65 6e 63 65 64 | 20 62 79 20 74 68 65 20 |ferenced| by the |
|000031d0| 6f 6e 65 20 d4 69 6e 66 | 72 d5 20 72 65 73 6f 75 |one .inf|r. resou|
|000031e0| 72 63 65 0d 6e 09 d4 69 | 6e 70 6b d5 20 72 65 73 |rce.n..i|npk. res|
|000031f0| 6f 75 72 63 65 73 20 61 | 72 65 20 61 63 74 75 61 |ources a|re actua|
|00003200| 6c 6c 79 20 72 65 66 65 | 72 65 6e 63 65 64 20 62 |lly refe|renced b|
|00003210| 79 20 61 74 20 6c 65 61 | 73 74 20 6f 6e 65 20 d4 |y at lea|st one .|
|00003220| 69 6e 72 6c d5 20 6f 72 | 20 d4 69 6e 70 6b d5 20 |inrl. or| .inpk. |
|00003230| 72 65 73 6f 75 72 63 65 | 0d 6e 09 d4 69 6e 66 61 |resource|.n..infa|
|00003240| d5 2c 20 d4 69 6e 72 61 | d5 2c 20 d4 69 6e 62 62 |., .inra|., .inbb|
|00003250| d5 2c 20 d4 69 6e 61 74 | d5 2c 20 61 6e 64 20 d4 |., .inat|., and .|
|00003260| 69 6e 66 66 d5 20 72 65 | 73 6f 75 72 63 65 73 20 |inff. re|sources |
|00003270| 61 72 65 20 61 63 74 75 | 61 6c 6c 79 20 72 65 66 |are actu|ally ref|
|00003280| 65 72 65 6e 63 65 64 20 | 62 79 20 61 74 20 6c 65 |erenced |by at le|
|00003290| 61 73 74 20 6f 6e 65 20 | d4 69 6e 70 6b d5 20 72 |ast one |.inpk. r|
|000032a0| 65 73 6f 75 72 63 65 0d | 6e 09 d4 69 63 6d 74 d5 |esource.|n..icmt.|
|000032b0| 20 72 65 73 6f 75 72 63 | 65 73 20 61 72 65 20 61 | resourc|es are a|
|000032c0| 63 74 75 61 6c 6c 79 20 | 72 65 66 65 72 65 6e 63 |ctually |referenc|
|000032d0| 65 64 20 62 79 20 61 74 | 20 6c 65 61 73 74 20 6f |ed by at| least o|
|000032e0| 6e 65 20 d4 69 6e 70 6b | d5 20 72 65 73 6f 75 72 |ne .inpk|. resour|
|000032f0| 63 65 0d 6e 09 d4 69 6e | 66 73 d5 20 72 65 73 6f |ce.n..in|fs. reso|
|00003300| 75 72 63 65 73 20 61 72 | 65 20 61 63 74 75 61 6c |urces ar|e actual|
|00003310| 6c 79 20 72 65 66 65 72 | 65 6e 63 65 64 20 62 79 |ly refer|enced by|
|00003320| 20 61 74 20 6c 65 61 73 | 74 20 6f 6e 65 20 d4 69 | at leas|t one .i|
|00003330| 6e 66 61 d5 2c 20 d4 69 | 6e 72 61 d5 2c 20 69 6e |nfa., .i|nra., in|
|00003340| 62 62 d5 2c 20 d4 69 6e | 61 74 d5 2c 20 20 d4 69 |bb., .in|at., .i|
|00003350| 6e 66 66 d5 20 6f 72 20 | d4 69 6e 72 6c d5 20 72 |nff. or |.inrl. r|
|00003360| 65 73 6f 75 72 63 65 0d | 6e 09 6f 74 68 65 72 20 |esource.|n.other |
|00003370| 72 65 73 6f 75 72 63 65 | 20 74 79 70 65 73 20 69 |resource| types i|
|00003380| 6e 20 74 68 65 20 73 63 | 72 69 70 74 20 69 74 73 |n the sc|ript its|
|00003390| 65 6c 66 20 61 72 65 20 | 72 65 66 65 72 65 6e 63 |elf are |referenc|
|000033a0| 65 64 20 61 74 20 6c 65 | 61 73 74 20 6f 6e 63 65 |ed at le|ast once|
|000033b0| 20 69 6e 20 74 68 65 20 | 73 63 72 69 70 74 0d 53 | in the |script.S|
|000033c0| 63 72 69 70 74 43 68 65 | 63 6b 20 65 6e 75 6d 65 |criptChe|ck enume|
|000033d0| 72 61 74 65 73 20 61 6c | 6c 20 65 78 74 72 61 6e |rates al|l extran|
|000033e0| 65 6f 75 73 20 72 65 66 | 65 72 65 6e 63 65 73 20 |eous ref|erences |
|000033f0| 69 6e 20 74 68 65 20 73 | 63 72 69 70 74 2e 20 20 |in the s|cript. |
|00003400| 59 6f 75 d5 6c 6c 20 6e | 65 65 64 20 74 6f 20 75 |You.ll n|eed to u|
|00003410| 73 65 20 74 68 65 20 2d | 72 20 6f 70 74 69 6f 6e |se the -|r option|
|00003420| 20 74 6f 20 63 61 6c 63 | 75 6c 61 74 65 20 74 68 | to calc|ulate th|
|00003430| 69 73 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 2e 20 |is infor|mation. |
|00003440| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 61 6e | For exa|mple, an|
|00003450| 20 75 6e 72 65 66 65 72 | 65 6e 63 65 64 20 d4 69 | unrefer|enced .i|
|00003460| 6e 66 73 d5 20 77 69 6c | 6c 20 62 65 20 68 69 67 |nfs. wil|l be hig|
|00003470| 68 6c 69 67 68 74 65 64 | 20 77 69 74 68 20 74 68 |hlighted| with th|
|00003480| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6d 65 73 73 |e follow|ing mess|
|00003490| 61 67 65 3a 0d 23 20 4e | 6f 74 65 3a 20 20 20 20 |age:.# N|ote: |
|000034a0| 53 63 72 69 70 74 20 72 | 65 73 6f 75 72 63 65 20 |Script r|esource |
|000034b0| 27 69 6e 66 73 27 20 49 | 44 20 3d 20 32 35 37 20 |'infs' I|D = 257 |
|000034c0| 77 61 73 20 6e 65 76 65 | 72 20 72 65 66 65 72 65 |was neve|r refere|
|000034d0| 6e 63 65 64 20 69 6e 20 | 74 68 65 20 73 63 72 69 |nced in |the scri|
|000034e0| 70 74 2e 0d 4d 75 6c 74 | 69 70 6c 65 20 66 69 6c |pt..Mult|iple fil|
|000034f0| 65 20 73 70 65 63 20 28 | d4 69 6e 66 73 d5 29 20 |e spec (|.infs.) |
|00003500| 72 65 73 6f 75 72 63 65 | 73 20 72 65 66 65 72 72 |resource|s referr|
|00003510| 69 6e 67 20 74 6f 20 74 | 68 65 20 73 61 6d 65 20 |ing to t|he same |
|00003520| 66 69 6c 65 20 69 73 20 | 61 6e 6f 74 68 65 72 20 |file is |another |
|00003530| 63 6f 6d 6d 6f 6e 20 70 | 72 6f 62 6c 65 6d 20 73 |common p|roblem s|
|00003540| 65 65 6e 20 69 6e 20 49 | 6e 73 74 61 6c 6c 65 72 |een in I|nstaller|
|00003550| 20 73 63 72 69 70 74 73 | 2e 20 20 42 65 63 61 75 | scripts|. Becau|
|00003560| 73 65 20 6f 66 20 74 68 | 65 20 73 70 65 63 69 61 |se of th|e specia|
|00003570| 6c 20 77 61 79 20 74 68 | 65 20 49 6e 73 74 61 6c |l way th|e Instal|
|00003580| 6c 65 72 20 64 65 61 6c | 73 20 77 69 74 68 20 66 |ler deal|s with f|
|00003590| 69 6c 65 73 2c 20 74 68 | 69 73 20 70 72 6f 62 6c |iles, th|is probl|
|000035a0| 65 6d 20 63 61 6e 20 63 | 6f 6e 66 75 73 65 20 74 |em can c|onfuse t|
|000035b0| 68 65 20 49 6e 73 74 61 | 6c 6c 65 72 2e 20 20 54 |he Insta|ller. T|
|000035c0| 68 65 72 65 66 6f 72 65 | 2c 20 69 74 20 69 73 20 |herefore|, it is |
|000035d0| 65 73 73 65 6e 74 69 61 | 6c 20 74 68 61 74 20 74 |essentia|l that t|
|000035e0| 68 65 20 73 63 72 69 70 | 74 20 77 72 69 74 65 72 |he scrip|t writer|
|000035f0| 20 72 65 6d 6f 76 65 20 | 61 6e 79 20 64 75 70 6c | remove |any dupl|
|00003600| 69 63 61 74 65 64 20 66 | 69 6c 65 20 73 70 65 63 |icated f|ile spec|
|00003610| 73 2e 20 20 0d 53 70 65 | 63 69 66 69 63 61 6c 6c |s. .Spe|cificall|
|00003620| 79 2c 20 61 6c 6c 20 73 | 6f 75 72 63 65 20 66 69 |y, all s|ource fi|
|00003630| 6c 65 20 73 70 65 63 73 | 20 6d 75 73 74 20 62 65 |le specs| must be|
|00003640| 20 75 6e 69 71 75 65 20 | 61 6e 64 20 6f 6e 6c 79 | unique |and only|
|00003650| 20 6f 6e 65 20 d4 69 6e | 66 73 d5 20 72 65 73 6f | one .in|fs. reso|
|00003660| 75 72 63 65 20 73 68 6f | 75 6c 64 20 62 65 20 75 |urce sho|uld be u|
|00003670| 73 65 64 20 74 6f 20 70 | 6f 69 6e 74 20 74 6f 20 |sed to p|oint to |
|00003680| 65 61 63 68 20 73 6f 75 | 72 63 65 20 66 69 6c 65 |each sou|rce file|
|00003690| 20 75 73 65 64 20 69 6e | 20 74 68 65 20 73 63 72 | used in| the scr|
|000036a0| 69 70 74 2e 20 20 49 6e | 20 61 64 64 69 74 69 6f |ipt. In| additio|
|000036b0| 6e 2c 20 61 6c 6c 20 74 | 61 72 67 65 74 20 66 69 |n, all t|arget fi|
|000036c0| 6c 65 20 73 70 65 63 73 | 20 6d 75 73 74 20 62 65 |le specs| must be|
|000036d0| 20 75 6e 69 71 75 65 20 | 61 6e 64 20 6f 6e 6c 79 | unique |and only|
|000036e0| 20 6f 6e 65 20 d4 69 6e | 66 73 d5 20 72 65 73 6f | one .in|fs. reso|
|000036f0| 75 72 63 65 20 73 68 6f | 75 6c 64 20 62 65 20 75 |urce sho|uld be u|
|00003700| 73 65 64 20 74 6f 20 70 | 6f 69 6e 74 20 74 6f 20 |sed to p|oint to |
|00003710| 65 61 63 68 20 74 61 72 | 67 65 74 20 66 69 6c 65 |each tar|get file|
|00003720| 20 75 73 65 64 20 69 6e | 20 74 68 65 20 73 63 72 | used in| the scr|
|00003730| 69 70 74 2e 20 20 53 63 | 72 69 70 74 43 68 65 63 |ipt. Sc|riptChec|
|00003740| 6b 20 63 68 65 63 6b 73 | 20 79 6f 75 72 20 73 63 |k checks| your sc|
|00003750| 72 69 70 74 20 74 6f 20 | 6d 61 6b 65 20 73 75 72 |ript to |make sur|
|00003760| 65 20 74 68 61 74 20 79 | 6f 75 20 68 61 76 65 20 |e that y|ou have |
|00003770| 66 6f 6c 6c 6f 77 65 64 | 20 74 68 69 73 20 69 6d |followed| this im|
|00003780| 70 6f 72 74 61 6e 74 20 | 72 75 6c 65 2e 20 20 49 |portant |rule. I|
|00003790| 66 20 69 74 20 66 69 6e | 64 73 20 d4 69 6e 66 73 |f it fin|ds .infs|
|000037a0| d5 20 72 65 73 6f 75 72 | 63 65 73 20 74 68 61 74 |. resour|ces that|
|000037b0| 20 64 75 70 6c 69 63 61 | 74 65 20 61 20 70 61 74 | duplica|te a pat|
|000037c0| 68 20 74 6f 20 61 20 73 | 6f 75 72 63 65 20 6f 72 |h to a s|ource or|
|000037d0| 20 74 61 72 67 65 74 20 | 66 69 6c 65 2c 20 69 74 | target |file, it|
|000037e0| 20 77 61 72 6e 73 20 79 | 6f 75 20 6f 66 20 79 6f | warns y|ou of yo|
|000037f0| 75 72 20 65 72 72 6f 72 | 2e 20 20 41 6e 20 65 78 |ur error|. An ex|
|00003800| 61 6d 70 6c 65 20 6f 75 | 74 70 75 74 20 6f 66 20 |ample ou|tput of |
|00003810| 74 68 69 73 20 70 72 6f | 62 6c 65 6d 20 66 6f 6c |this pro|blem fol|
|00003820| 6c 6f 77 73 3a 0d 23 20 | 57 61 72 6e 69 6e 67 3a |lows:.# |Warning:|
|00003830| 20 27 69 6e 66 73 27 20 | 72 65 73 6f 75 72 63 65 | 'infs' |resource|
|00003840| 73 20 49 44 20 3d 20 33 | 30 30 35 20 26 20 49 44 |s ID = 3|005 & ID|
|00003850| 20 3d 20 33 30 30 32 20 | 72 65 66 65 72 20 74 6f | = 3002 |refer to|
|00003860| 20 74 68 65 20 73 61 6d | 65 20 73 6f 75 72 63 65 | the sam|e source|
|00003870| 20 66 69 6c 65 20 28 27 | 46 69 6c 65 4d 61 6b 65 | file ('|FileMake|
|00003880| 72 20 44 61 74 61 3a 4a | 75 73 74 41 46 69 6c 65 |r Data:J|ustAFile|
|00003890| 27 29 2e 20 54 68 69 73 | 20 63 61 6e 20 63 61 75 |'). This| can cau|
|000038a0| 73 65 20 74 68 65 20 49 | 6e 73 74 61 6c 6c 65 72 |se the I|nstaller|
|000038b0| 20 70 72 6f 62 6c 65 6d | 73 2c 20 72 65 6d 6f 76 | problem|s, remov|
|000038c0| 65 20 74 68 65 20 64 75 | 70 6c 69 63 61 74 65 73 |e the du|plicates|
|000038d0| 21 0d 41 66 74 65 72 20 | 74 68 65 20 63 68 65 63 |!.After |the chec|
|000038e0| 6b 20 65 6e 64 73 2c 20 | 69 74 20 69 73 20 74 68 |k ends, |it is th|
|000038f0| 65 20 73 63 72 69 70 74 | 20 77 72 69 74 65 72 d5 |e script| writer.|
|00003900| 73 20 72 65 73 70 6f 6e | 73 69 62 69 6c 69 74 79 |s respon|sibility|
|00003910| 20 74 6f 20 72 65 6d 6f | 76 65 20 64 75 70 6c 69 | to remo|ve dupli|
|00003920| 63 61 74 65 20 d4 69 6e | 66 73 d5 20 72 65 73 6f |cate .in|fs. reso|
|00003930| 75 72 63 65 73 20 61 6e | 64 20 66 69 78 20 61 6c |urces an|d fix al|
|00003940| 6c 20 d4 69 6e 66 61 d5 | 2c 20 d4 69 6e 72 61 d5 |l .infa.|, .inra.|
|00003950| 2c 20 61 6e 64 20 6f 74 | 68 65 72 20 73 63 72 69 |, and ot|her scri|
|00003960| 70 74 20 72 65 73 6f 75 | 72 63 65 73 20 77 68 69 |pt resou|rces whi|
|00003970| 63 68 20 72 65 66 65 72 | 65 6e 63 65 20 74 68 65 |ch refer|ence the|
|00003980| 20 64 75 70 6c 69 63 61 | 74 65 73 2e 20 20 43 68 | duplica|tes. Ch|
|00003990| 61 6e 67 65 20 74 68 6f | 73 65 20 72 65 73 6f 75 |ange tho|se resou|
|000039a0| 72 63 65 73 20 74 6f 20 | 72 65 66 65 72 65 6e 63 |rces to |referenc|
|000039b0| 65 20 74 68 65 20 d4 69 | 6e 66 73 d5 20 72 65 73 |e the .i|nfs. res|
|000039c0| 6f 75 72 63 65 20 74 68 | 61 74 20 77 69 6c 6c 20 |ource th|at will |
|000039d0| 72 65 6d 61 69 6e 20 69 | 6e 20 74 68 65 20 73 63 |remain i|n the sc|
|000039e0| 72 69 70 74 2e 0d 4c 6f | 67 69 63 20 45 72 72 6f |ript..Lo|gic Erro|
|000039f0| 72 73 20 0d 54 68 65 20 | 6d 61 69 6e 20 74 79 70 |rs .The |main typ|
|00003a00| 65 20 6f 66 20 6c 6f 67 | 69 63 20 65 72 72 6f 72 |e of log|ic error|
|00003a10| 73 20 74 68 61 74 20 63 | 61 6e 20 67 65 74 20 69 |s that c|an get i|
|00003a20| 6e 74 6f 20 61 20 73 63 | 72 69 70 74 20 72 65 73 |nto a sc|ript res|
|00003a30| 75 6c 74 20 66 72 6f 6d | 20 69 6d 70 72 6f 70 65 |ult from| imprope|
|00003a40| 72 20 73 65 74 74 69 6e | 67 20 6f 66 20 74 68 65 |r settin|g of the|
|00003a50| 20 66 6c 61 67 20 62 69 | 74 73 20 75 73 65 64 20 | flag bi|ts used |
|00003a60| 69 6e 20 74 68 65 20 66 | 69 6c 65 20 61 6e 64 20 |in the f|ile and |
|00003a70| 72 65 73 6f 75 72 63 65 | 20 61 74 6f 6d 20 72 65 |resource| atom re|
|00003a80| 73 6f 75 72 63 65 73 2e | 20 20 54 68 65 72 65 20 |sources.| There |
|00003a90| 61 72 65 20 61 20 67 72 | 65 61 74 20 6e 75 6d 62 |are a gr|eat numb|
|00003aa0| 65 72 20 6f 66 20 70 65 | 72 6d 75 74 61 74 69 6f |er of pe|rmutatio|
|00003ab0| 6e 73 20 6f 66 20 74 68 | 65 73 65 20 62 69 74 73 |ns of th|ese bits|
|00003ac0| 20 74 68 61 74 20 72 65 | 73 75 6c 74 20 69 6e 20 | that re|sult in |
|00003ad0| 69 6c 6c 6f 67 69 63 61 | 6c 20 6f 72 20 61 6d 62 |illogica|l or amb|
|00003ae0| 69 67 75 6f 75 73 20 61 | 63 74 69 6f 6e 73 2e 20 |iguous a|ctions. |
|00003af0| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 69 66 | For exa|mple, if|
|00003b00| 20 74 68 65 20 6b 65 65 | 70 20 65 78 69 73 74 69 | the kee|p existi|
|00003b10| 6e 67 20 61 6e 64 20 74 | 68 65 20 75 70 64 61 74 |ng and t|he updat|
|00003b20| 65 20 6f 6e 6c 79 20 62 | 69 74 73 20 69 6e 20 61 |e only b|its in a|
|00003b30| 20 72 65 73 6f 75 72 63 | 65 20 61 74 6f 6d 20 66 | resourc|e atom f|
|00003b40| 6c 61 67 20 61 72 65 20 | 62 6f 74 68 20 73 65 74 |lag are |both set|
|00003b50| 2c 20 74 68 65 6e 20 74 | 68 69 73 20 74 65 6c 6c |, then t|his tell|
|00003b60| 73 20 74 68 65 20 69 6e | 73 74 61 6c 6c 65 72 20 |s the in|staller |
|00003b70| 74 68 61 74 20 69 66 20 | 74 68 65 20 66 69 6c 65 |that if |the file|
|00003b80| 20 61 6c 72 65 61 64 79 | 20 65 78 69 73 74 73 20 | already| exists |
|00003b90| 6f 6e 20 74 68 65 20 74 | 61 72 67 65 74 2c 20 74 |on the t|arget, t|
|00003ba0| 68 65 6e 20 6b 65 65 70 | 20 74 68 65 20 65 78 69 |hen keep| the exi|
|00003bb0| 73 74 69 6e 67 20 6f 6e | 65 2c 20 62 75 74 20 61 |sting on|e, but a|
|00003bc0| 6c 73 6f 20 75 70 64 61 | 74 65 20 74 68 65 20 66 |lso upda|te the f|
|00003bd0| 69 6c 65 20 69 66 20 74 | 68 65 20 66 69 6c 65 20 |ile if t|he file |
|00003be0| 65 78 69 73 74 73 2e 20 | 20 0d 54 68 65 20 66 69 |exists. | .The fi|
|00003bf0| 6c 65 20 77 69 6c 6c 20 | 6e 65 76 65 72 20 62 65 |le will |never be|
|00003c00| 20 75 70 64 61 74 65 64 | 20 77 69 74 68 20 74 68 | updated| with th|
|00003c10| 65 73 65 20 74 77 6f 20 | 62 69 74 73 20 73 65 74 |ese two |bits set|
|00003c20| 20 74 6f 67 65 74 68 65 | 72 20 61 6e 64 20 74 68 | togethe|r and th|
|00003c30| 65 20 73 63 72 69 70 74 | 20 77 72 69 74 65 72 20 |e script| writer |
|00003c40| 69 73 20 61 6c 65 72 74 | 65 64 20 74 6f 20 74 68 |is alert|ed to th|
|00003c50| 69 73 20 69 6c 6c 6f 67 | 69 63 61 6c 20 73 65 74 |is illog|ical set|
|00003c60| 74 69 6e 67 2e 20 20 20 | 41 6e 20 65 78 61 6d 70 |ting. |An examp|
|00003c70| 6c 65 20 53 63 72 69 70 | 74 43 68 65 63 6b 20 6f |le Scrip|tCheck o|
|00003c80| 75 74 70 75 74 20 6f 66 | 20 74 68 69 73 20 74 79 |utput of| this ty|
|00003c90| 70 65 20 6f 66 20 6c 6f | 67 69 63 20 65 72 72 6f |pe of lo|gic erro|
|00003ca0| 72 73 20 66 6f 6c 6c 6f | 77 73 3a 0d 23 20 57 61 |rs follo|ws:.# Wa|
|00003cb0| 72 6e 69 6e 67 3a 20 54 | 68 65 20 66 6c 61 67 20 |rning: T|he flag |
|00003cc0| 62 69 74 73 20 69 6e 20 | 27 69 6e 72 61 27 20 49 |bits in |'inra' I|
|00003cd0| 44 20 3d 20 32 30 30 30 | 20 61 72 65 20 73 65 74 |D = 2000| are set|
|00003ce0| 20 63 6f 70 79 2c 20 6b | 65 65 70 45 78 69 73 74 | copy, k|eepExist|
|00003cf0| 69 6e 67 2c 20 61 6e 64 | 20 09 20 75 70 64 61 74 |ing, and| . updat|
|00003d00| 65 4f 6e 6c 79 2e 20 20 | 54 68 69 73 20 63 6f 6d |eOnly. |This com|
|00003d10| 62 69 6e 61 74 69 6f 6e | 20 6d 61 6b 65 73 20 74 |bination| makes t|
|00003d20| 68 65 20 72 65 73 6f 75 | 72 63 65 20 61 74 6f 6d |he resou|rce atom|
|00003d30| 20 6e 65 76 65 72 20 75 | 70 64 61 74 65 20 62 65 | never u|pdate be|
|00003d40| 63 61 75 73 65 20 69 74 | 20 77 69 6c 6c 20 61 6c |cause it| will al|
|00003d50| 77 61 79 73 20 6b 65 65 | 70 20 61 6e 20 65 78 69 |ways kee|p an exi|
|00003d60| 73 74 69 6e 67 20 63 6f | 70 79 2e 0d 53 63 72 69 |sting co|py..Scri|
|00003d70| 70 74 43 68 65 63 6b 20 | 61 6c 73 6f 20 72 61 6e |ptCheck |also ran|
|00003d80| 67 65 20 63 68 65 63 6b | 73 20 76 61 6c 75 65 73 |ge check|s values|
|00003d90| 20 74 68 61 74 20 63 61 | 6e 20 62 65 20 65 6e 74 | that ca|n be ent|
|00003da0| 65 72 65 64 20 69 6e 20 | 74 68 65 20 d4 69 6e 72 |ered in |the .inr|
|00003db0| 6c d5 20 73 63 72 69 70 | 74 20 72 65 73 6f 75 72 |l. scrip|t resour|
|00003dc0| 63 65 73 2e 20 0d 54 68 | 65 20 d4 69 6e 72 6c d5 |ces. .Th|e .inrl.|
|00003dd0| 20 76 61 6c 75 65 73 20 | 74 68 61 74 20 61 72 65 | values |that are|
|00003de0| 20 63 68 65 63 6b 65 64 | 20 69 6e 63 6c 75 64 65 | checked| include|
|00003df0| 3a 0d 6e 09 63 68 65 63 | 6b 4d 69 6e 4d 65 6d 6f |:.n.chec|kMinMemo|
|00003e00| 72 79 3a 20 20 6d 61 6b | 65 20 73 75 72 65 20 74 |ry: mak|e sure t|
|00003e10| 68 65 20 76 61 6c 75 65 | 20 69 73 20 66 65 61 73 |he value| is feas|
|00003e20| 69 62 6c 65 20 28 30 20 | 3c 3d 20 76 61 6c 75 65 |ible (0 |<= value|
|00003e30| 20 3c 3d 20 31 36 4d 42 | 29 0d 6e 09 63 68 65 63 | <= 16MB|).n.chec|
|00003e40| 6b 54 67 74 56 6f 6c 53 | 69 7a 65 3a 20 20 6d 61 |kTgtVolS|ize: ma|
|00003e50| 6b 65 20 73 75 72 65 20 | 74 68 65 20 6d 69 6e 69 |ke sure |the mini|
|00003e60| 6d 75 6d 20 69 73 20 6e | 6f 74 20 67 72 65 61 74 |mum is n|ot great|
|00003e70| 65 72 20 74 68 61 6e 20 | 74 68 65 20 6d 61 78 69 |er than |the maxi|
|00003e80| 6d 75 6d 20 76 61 6c 75 | 65 20 28 61 73 69 64 65 |mum valu|e (aside|
|00003e90| 20 66 72 6f 6d 20 74 68 | 65 20 73 70 65 63 69 61 | from th|e specia|
|00003ea0| 6c 20 63 61 73 65 20 77 | 68 65 6e 20 6d 61 78 20 |l case w|hen max |
|00003eb0| 69 73 20 30 29 0d 20 49 | 66 20 65 69 74 68 65 72 |is 0). I|f either|
|00003ec0| 20 6f 66 20 74 68 65 73 | 65 20 76 61 6c 75 65 73 | of thes|e values|
|00003ed0| 20 69 73 20 6f 75 74 20 | 6f 66 20 72 65 61 73 6f | is out |of reaso|
|00003ee0| 6e 61 62 6c 65 20 62 6f | 75 6e 64 73 2c 20 77 61 |nable bo|unds, wa|
|00003ef0| 72 6e 69 6e 67 20 6d 65 | 73 73 61 67 65 73 20 61 |rning me|ssages a|
|00003f00| 6c 65 72 74 20 74 68 65 | 20 73 63 72 69 70 74 20 |lert the| script |
|00003f10| 77 72 69 74 65 72 20 6f | 66 20 70 6f 73 73 69 62 |writer o|f possib|
|00003f20| 6c 65 20 70 72 6f 62 6c | 65 6d 73 2e 0d 0d 53 63 |le probl|ems...Sc|
|00003f30| 72 69 70 74 20 55 70 64 | 61 74 69 6e 67 0d 54 68 |ript Upd|ating.Th|
|00003f40| 69 73 20 63 68 61 70 74 | 65 72 20 64 65 73 63 72 |is chapt|er descr|
|00003f50| 69 62 65 73 20 74 68 65 | 20 74 61 73 6b 73 20 53 |ibes the| tasks S|
|00003f60| 63 72 69 70 74 43 68 65 | 63 6b 20 70 65 72 66 6f |criptChe|ck perfo|
|00003f70| 72 6d 73 20 74 6f 20 68 | 65 6c 70 20 6d 61 6b 65 |rms to h|elp make|
|00003f80| 20 6b 65 65 70 69 6e 67 | 20 79 6f 75 72 20 73 63 | keeping| your sc|
|00003f90| 72 69 70 74 20 75 70 20 | 74 6f 20 64 61 74 65 20 |ript up |to date |
|00003fa0| 65 61 73 79 2e 0d 53 63 | 72 69 70 74 20 43 6f 6d |easy..Sc|ript Com|
|00003fb0| 70 6c 65 74 69 6f 6e 0d | 53 6f 6d 65 20 73 63 72 |pletion.|Some scr|
|00003fc0| 69 70 74 20 72 65 73 6f | 75 72 63 65 20 74 79 70 |ipt reso|urce typ|
|00003fd0| 65 73 20 72 65 71 75 69 | 72 65 20 69 6e 66 6f 72 |es requi|re infor|
|00003fe0| 6d 61 74 69 6f 6e 20 74 | 68 61 74 20 69 73 20 76 |mation t|hat is v|
|00003ff0| 65 72 79 20 74 65 64 69 | 6f 75 73 20 61 6e 64 20 |ery tedi|ous and |
|00004000| 63 75 6d 62 65 72 73 6f | 6d 65 20 74 6f 20 63 61 |cumberso|me to ca|
|00004010| 6c 63 75 6c 61 74 65 2e | 20 20 46 6f 72 20 69 6e |lculate.| For in|
|00004020| 73 74 61 6e 63 65 2c 20 | 74 68 65 20 73 69 7a 65 |stance, |the size|
|00004030| 20 66 69 65 6c 64 20 74 | 68 61 74 20 69 73 20 66 | field t|hat is f|
|00004040| 6f 75 6e 64 20 69 6e 20 | 74 68 65 20 d4 69 6e 66 |ound in |the .inf|
|00004050| 61 d5 20 20 6d 75 73 74 | 20 63 6f 6e 74 61 69 6e |a. must| contain|
|00004060| 20 74 68 65 20 61 63 74 | 75 61 6c 20 73 69 7a 65 | the act|ual size|
|00004070| 20 28 69 6e 20 62 79 74 | 65 73 29 20 6f 66 20 74 | (in byt|es) of t|
|00004080| 68 65 20 66 69 6c 65 20 | 6f 6e 20 74 68 65 20 73 |he file |on the s|
|00004090| 6f 75 72 63 65 20 64 69 | 73 6b 73 2e 20 20 46 69 |ource di|sks. Fi|
|000040a0| 6c 6c 69 6e 67 20 69 6e | 20 74 68 69 73 20 74 79 |lling in| this ty|
|000040b0| 70 65 20 6f 66 20 66 69 | 65 6c 64 20 69 73 20 74 |pe of fi|eld is t|
|000040c0| 65 64 69 6f 75 73 20 61 | 6e 64 20 69 74 20 6d 75 |edious a|nd it mu|
|000040d0| 73 74 20 62 65 20 75 70 | 64 61 74 65 64 20 65 61 |st be up|dated ea|
|000040e0| 63 68 20 74 69 6d 65 20 | 74 68 65 20 66 69 6c 65 |ch time |the file|
|000040f0| 73 20 6f 6e 20 74 68 65 | 20 73 6f 75 72 63 65 20 |s on the| source |
|00004100| 64 69 73 6b 73 20 63 68 | 61 6e 67 65 20 73 69 7a |disks ch|ange siz|
|00004110| 65 73 2e 20 0d 46 69 6c | 6c 69 6e 67 20 69 6e 20 |es. .Fil|ling in |
|00004120| 53 69 7a 65 20 46 69 65 | 6c 64 73 0d 49 6e 73 74 |Size Fie|lds.Inst|
|00004130| 61 6c 6c 65 72 20 34 2e | 30 20 72 65 71 75 69 72 |aller 4.|0 requir|
|00004140| 65 73 20 63 65 72 74 61 | 69 6e 20 73 69 7a 65 20 |es certa|in size |
|00004150| 66 69 65 6c 64 20 69 6e | 20 61 74 6f 6d 73 20 68 |field in| atoms h|
|00004160| 61 76 65 20 74 68 65 20 | 65 78 61 63 74 20 73 69 |ave the |exact si|
|00004170| 7a 65 20 74 68 65 20 66 | 69 6c 65 20 6f 72 20 72 |ze the f|ile or r|
|00004180| 65 73 6f 75 72 63 65 20 | 70 61 72 74 73 20 77 69 |esource |parts wi|
|00004190| 6c 6c 20 6f 63 63 75 70 | 79 20 6f 6e 20 74 68 65 |ll occup|y on the|
|000041a0| 20 74 61 72 67 65 74 20 | 66 69 6c 65 2e 20 20 53 | target |file. S|
|000041b0| 63 72 69 70 74 43 68 65 | 63 6b 20 6d 61 6b 65 73 |criptChe|ck makes|
|000041c0| 20 73 75 72 65 20 74 68 | 65 73 65 20 66 69 65 6c | sure th|ese fiel|
|000041d0| 64 73 20 61 72 65 20 73 | 65 74 20 70 72 6f 70 65 |ds are s|et prope|
|000041e0| 72 6c 79 20 62 79 20 6c | 6f 6f 6b 69 6e 67 20 61 |rly by l|ooking a|
|000041f0| 74 20 74 68 65 20 73 6f | 75 72 63 65 20 66 69 6c |t the so|urce fil|
|00004200| 65 2e 0d 53 63 72 69 70 | 74 43 68 65 63 6b 20 34 |e..Scrip|tCheck 4|
|00004210| 2e 30 20 70 65 72 66 6f | 72 6d 73 20 74 68 65 20 |.0 perfo|rms the |
|00004220| 66 6f 6c 6c 6f 77 69 6e | 67 20 61 63 74 69 76 69 |followin|g activi|
|00004230| 74 69 65 73 20 72 65 67 | 61 72 64 69 6e 67 20 73 |ties reg|arding s|
|00004240| 69 7a 65 20 66 69 65 6c | 64 73 3a 0d 6e 09 46 6f |ize fiel|ds:.n.Fo|
|00004250| 72 20 46 69 6c 65 2c 20 | 52 65 73 6f 75 72 63 65 |r File, |Resource|
|00004260| 20 61 6e 64 20 46 6f 6e | 74 20 41 74 6f 6d 73 2c | and Fon|t Atoms,|
|00004270| 20 53 63 72 69 70 74 43 | 68 65 63 6b 20 66 69 6c | ScriptC|heck fil|
|00004280| 6c 73 20 69 6e 20 74 68 | 65 20 65 78 61 63 74 20 |ls in th|e exact |
|00004290| 74 61 72 67 65 74 20 73 | 69 7a 65 20 66 6f 72 20 |target s|ize for |
|000042a0| 65 61 63 68 20 73 70 65 | 63 69 66 69 65 64 20 70 |each spe|cified p|
|000042b0| 61 72 74 2e 20 20 49 66 | 20 79 6f 75 72 20 66 69 |art. If| your fi|
|000042c0| 6c 65 73 20 61 72 65 20 | 63 6f 6d 70 72 65 73 73 |les are |compress|
|000042d0| 65 64 2c 20 61 6e 64 20 | 79 6f 75 20 61 72 65 20 |ed, and |you are |
|000042e0| 75 73 69 6e 67 20 61 6e | 20 41 74 6f 6d 20 45 78 |using an| Atom Ex|
|000042f0| 74 65 6e 64 65 72 20 74 | 6f 20 64 65 63 6f 6d 70 |tender t|o decomp|
|00004300| 72 65 73 73 20 74 68 65 | 20 66 69 6c 65 20 6f 72 |ress the| file or|
|00004310| 20 72 65 73 6f 75 72 63 | 65 2c 20 74 68 65 6e 20 | resourc|e, then |
|00004320| 79 6f 75 20 6d 75 73 74 | 20 73 75 70 70 6c 79 20 |you must| supply |
|00004330| 61 20 63 6f 64 65 20 72 | 65 73 6f 75 72 63 65 20 |a code r|esource |
|00004340| 74 68 61 74 20 53 63 72 | 69 70 74 43 68 65 63 6b |that Scr|iptCheck|
|00004350| 20 63 61 6c 6c 73 20 66 | 6f 72 20 65 61 63 68 20 | calls f|or each |
|00004360| 63 6f 6d 70 72 65 73 73 | 65 64 20 66 69 6c 65 20 |compress|ed file |
|00004370| 74 6f 20 6f 62 74 61 69 | 6e 20 74 68 65 20 6f 72 |to obtai|n the or|
|00004380| 69 67 69 6e 61 6c 20 66 | 69 6c 65 20 6f 72 20 72 |iginal f|ile or r|
|00004390| 65 73 6f 75 72 63 65 d5 | 73 20 73 69 7a 65 20 69 |esource.|s size i|
|000043a0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 2e 20 20 53 65 65 |nformati|on. See|
|000043b0| 20 d2 46 69 6c 65 2f 52 | 65 73 6f 75 72 63 65 20 | .File/R|esource |
|000043c0| 49 6e 66 6f 20 45 78 74 | 65 6e 73 69 6f 6e 20 52 |Info Ext|ension R|
|000043d0| 65 66 65 72 65 6e 63 65 | d3 20 6c 61 74 65 72 20 |eference|. later |
|000043e0| 69 6e 20 74 68 69 73 20 | 73 65 63 74 69 6f 6e 2e |in this |section.|
|000043f0| 0d 6e 09 54 68 65 20 74 | 6f 74 61 6c 20 73 69 7a |.n.The t|otal siz|
|00004400| 65 20 66 69 65 6c 64 20 | 69 6e 20 74 68 65 20 61 |e field |in the a|
|00004410| 74 6f 6d 20 69 73 20 66 | 69 6c 6c 65 64 20 75 73 |tom is f|illed us|
|00004420| 69 6e 67 20 73 69 7a 65 | 20 69 6e 66 6f 72 6d 61 |ing size| informa|
|00004430| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 70 61 72 74 |tion of |the part|
|00004440| 73 20 62 65 69 6e 67 20 | 69 6e 73 74 61 6c 6c 65 |s being |installe|
|00004450| 64 20 77 69 74 68 20 74 | 68 65 20 61 74 6f 6d 2e |d with t|he atom.|
|00004460| 0d 6e 09 54 68 65 20 73 | 69 7a 65 20 66 69 65 6c |.n.The s|ize fiel|
|00004470| 64 20 69 6e 20 61 6c 6c | 20 70 61 63 6b 61 67 65 |d in all| package|
|00004480| 73 20 61 72 65 20 75 70 | 64 61 74 65 64 20 77 69 |s are up|dated wi|
|00004490| 74 68 20 74 68 65 20 74 | 6f 74 61 6c 20 6f 66 20 |th the t|otal of |
|000044a0| 74 68 65 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 61 |the cont|aining a|
|000044b0| 74 6f 6d 20 74 6f 74 61 | 6c 20 73 69 7a 65 73 2e |tom tota|l sizes.|
|000044c0| 20 20 54 68 69 73 20 61 | 6c 6c 6f 77 73 20 74 68 | This a|llows th|
|000044d0| 65 20 49 6e 73 74 61 6c | 6c 65 72 20 74 6f 20 76 |e Instal|ler to v|
|000044e0| 65 72 69 66 79 20 74 68 | 61 74 20 61 6c 6c 20 74 |erify th|at all t|
|000044f0| 61 72 67 65 74 20 64 69 | 73 6b 73 20 68 61 76 65 |arget di|sks have|
|00004500| 20 73 75 66 66 69 63 69 | 65 6e 74 20 64 69 73 6b | suffici|ent disk|
|00004510| 20 73 70 61 63 65 20 74 | 6f 20 63 6f 6d 70 6c 65 | space t|o comple|
|00004520| 74 65 20 74 68 65 20 69 | 6e 73 74 61 6c 6c 61 74 |te the i|nstallat|
|00004530| 69 6f 6e 2e 20 20 54 68 | 69 73 20 73 69 7a 65 20 |ion. Th|is size |
|00004540| 66 69 65 6c 64 20 69 73 | 20 61 6c 73 6f 20 74 68 |field is| also th|
|00004550| 65 20 76 61 6c 75 65 20 | 73 68 6f 77 6e 20 74 6f |e value |shown to|
|00004560| 20 74 68 65 20 75 73 65 | 72 20 69 6e 20 74 68 65 | the use|r in the|
|00004570| 20 69 6e 66 6f 20 77 69 | 6e 64 6f 77 20 66 6f 72 | info wi|ndow for|
|00004580| 20 70 61 63 6b 61 67 65 | 73 20 74 68 61 74 20 68 | package|s that h|
|00004590| 61 76 65 20 74 68 65 20 | 53 68 6f 77 4f 6e 43 75 |ave the |ShowOnCu|
|000045a0| 73 74 6f 6d 20 66 6c 61 | 67 20 73 65 74 2e 0d 4e |stom fla|g set..N|
|000045b0| 4f 54 45 0d 53 63 72 69 | 70 74 43 68 65 63 6b 20 |OTE.Scri|ptCheck |
|000045c0| 68 61 73 20 70 72 6f 62 | 6c 65 6d 73 20 77 69 74 |has prob|lems wit|
|000045d0| 68 20 75 70 64 61 74 69 | 6e 67 20 74 68 65 20 69 |h updati|ng the i|
|000045e0| 6e 64 69 76 69 64 75 61 | 6c 20 73 69 7a 65 20 66 |ndividua|l size f|
|000045f0| 69 65 6c 64 73 20 6f 66 | 20 6d 75 74 6c 69 70 6c |ields of| mutlipl|
|00004600| 65 20 73 6f 75 72 63 65 | 20 66 69 6c 65 73 20 77 |e source| files w|
|00004610| 68 65 6e 20 74 68 65 20 | 64 61 74 61 20 66 6f 72 |hen the |data for|
|00004620| 6b 20 63 6f 6e 74 61 69 | 6e 73 20 74 68 65 20 72 |k contai|ns the r|
|00004630| 65 73 6f 75 72 63 65 20 | 66 6f 72 6b 20 64 61 74 |esource |fork dat|
|00004640| 61 2e 20 20 54 68 65 72 | 65 66 6f 72 65 20 69 74 |a. Ther|efore it|
|00004650| 20 69 73 20 62 65 73 74 | 20 74 6f 20 63 6f 70 79 | is best| to copy|
|00004660| 20 62 6f 74 68 20 66 6f | 72 6b 73 20 6f 66 20 61 | both fo|rks of a|
|00004670| 20 66 69 6c 65 20 74 68 | 61 74 20 69 73 20 73 70 | file th|at is sp|
|00004680| 6c 69 74 20 69 6e 74 6f | 20 6d 75 6c 74 69 70 6c |lit into| multipl|
|00004690| 65 20 73 6f 75 72 63 65 | 20 66 69 6c 65 73 20 62 |e source| files b|
|000046a0| 79 20 75 73 69 6e 67 20 | 74 77 6f 20 46 69 6c 65 |y using |two File|
|000046b0| 20 41 74 6f 6d 73 2c 20 | 6f 6e 65 20 74 6f 20 63 | Atoms, |one to c|
|000046c0| 6f 70 79 20 74 68 65 20 | 64 61 74 61 20 66 6f 72 |opy the |data for|
|000046d0| 6b 2c 20 61 6e 64 20 74 | 68 65 20 6f 74 68 65 72 |k, and t|he other|
|000046e0| 20 74 6f 20 63 6f 70 79 | 20 74 68 65 20 72 65 73 | to copy| the res|
|000046f0| 6f 75 72 63 65 20 66 6f | 72 6b 2e 20 20 75 0d 46 |ource fo|rk. u.F|
|00004700| 69 6c 6c 69 6e 67 20 69 | 6e 20 53 6f 75 72 63 65 |illing i|n Source|
|00004710| 20 56 65 72 73 69 6f 6e | 20 46 69 65 6c 64 73 0d | Version| Fields.|
|00004720| 49 6e 73 74 61 6c 6c 65 | 72 20 34 2e 30 20 61 6c |Installe|r 4.0 al|
|00004730| 6c 6f 77 73 20 74 68 65 | 20 73 63 72 69 70 74 77 |lows the| scriptw|
|00004740| 72 69 74 65 72 20 74 6f | 20 64 65 74 65 72 6d 69 |riter to| determi|
|00004750| 6e 65 20 74 68 65 20 6e | 65 77 6e 65 73 73 20 6f |ne the n|ewness o|
|00004760| 66 20 74 68 65 20 74 61 | 72 67 65 74 20 72 65 73 |f the ta|rget res|
|00004770| 6f 75 72 63 65 20 6f 72 | 20 66 69 6c 65 20 72 65 |ource or| file re|
|00004780| 6c 61 74 69 76 65 20 74 | 6f 20 74 68 65 20 73 6f |lative t|o the so|
|00004790| 75 72 63 65 20 75 73 69 | 6e 67 20 61 20 76 65 72 |urce usi|ng a ver|
|000047a0| 73 69 6f 6e 20 6e 75 6d | 62 65 72 2e 20 20 41 20 |sion num|ber. A |
|000047b0| 66 69 65 6c 64 20 65 78 | 69 73 74 73 20 69 6e 20 |field ex|ists in |
|000047c0| 74 68 65 20 6e 65 77 20 | 66 6f 72 6d 61 74 73 20 |the new |formats |
|000047d0| 6f 66 20 74 68 65 20 52 | 65 73 6f 75 72 63 65 20 |of the R|esource |
|000047e0| 61 6e 64 20 46 69 6c 65 | 20 41 74 6f 6d 20 74 68 |and File| Atom th|
|000047f0| 61 74 20 68 6f 6c 64 20 | 74 68 65 20 76 65 72 73 |at hold |the vers|
|00004800| 69 6f 6e 20 6e 75 6d 62 | 65 72 20 6f 66 20 74 68 |ion numb|er of th|
|00004810| 65 20 73 6f 75 72 63 65 | 2e 20 20 53 63 72 69 70 |e source|. Scrip|
|00004820| 74 43 68 65 63 6b 20 34 | 2e 30 20 77 69 6c 6c 20 |tCheck 4|.0 will |
|00004830| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 20 75 70 |automati|cally up|
|00004840| 64 61 74 65 20 74 68 69 | 73 20 66 69 65 6c 64 20 |date thi|s field |
|00004850| 69 66 20 74 68 65 20 73 | 63 72 69 70 74 77 72 69 |if the s|criptwri|
|00004860| 74 65 72 20 63 68 6f 6f | 73 65 73 20 74 6f 20 73 |ter choo|ses to s|
|00004870| 75 70 70 6c 79 20 74 68 | 65 20 6e 65 63 65 73 73 |upply th|e necess|
|00004880| 61 72 79 20 63 75 73 74 | 6f 6d 20 63 6f 64 65 20 |ary cust|om code |
|00004890| 72 65 73 6f 75 72 63 65 | 20 74 6f 20 64 65 74 65 |resource| to dete|
|000048a0| 72 6d 69 6e 65 20 74 68 | 65 20 73 6f 75 72 63 65 |rmine th|e source|
|000048b0| 20 76 65 72 73 69 6f 6e | 20 6e 75 6d 62 65 72 2e | version| number.|
|000048c0| 0d 49 66 20 74 68 65 20 | 56 65 72 73 69 6f 6e 20 |.If the |Version |
|000048d0| 43 6f 6d 70 61 72 65 20 | 72 73 72 63 20 49 44 20 |Compare |rsrc ID |
|000048e0| 66 69 65 6c 64 20 69 73 | 20 6e 6f 6e 2d 7a 65 72 |field is| non-zer|
|000048f0| 6f 20 53 63 72 69 70 74 | 43 68 65 63 6b 20 6c 6f |o Script|Check lo|
|00004900| 6f 6b 73 20 66 6f 72 20 | 61 6e 20 d4 73 63 73 76 |oks for |an .scsv|
|00004910| d5 20 72 65 73 6f 75 72 | 63 65 2c 20 77 68 69 63 |. resour|ce, whic|
|00004920| 68 20 64 65 73 63 72 69 | 62 65 73 20 68 6f 77 20 |h descri|bes how |
|00004930| 74 6f 20 63 61 6c 6c 20 | 74 68 65 20 63 6f 64 65 |to call |the code|
|00004940| 20 72 65 73 6f 75 72 63 | 65 20 74 68 61 74 20 77 | resourc|e that w|
|00004950| 69 6c 6c 20 64 65 74 65 | 72 6d 69 6e 65 20 74 68 |ill dete|rmine th|
|00004960| 65 20 73 6f 75 72 63 65 | 20 76 65 72 73 69 6f 6e |e source| version|
|00004970| 20 6e 75 6d 62 65 72 2e | 20 20 54 68 65 20 76 65 | number.| The ve|
|00004980| 72 73 69 6f 6e 20 6e 75 | 6d 62 65 72 20 72 65 74 |rsion nu|mber ret|
|00004990| 75 72 6e 65 64 20 62 79 | 20 74 68 65 20 63 6f 64 |urned by| the cod|
|000049a0| 65 20 72 65 73 6f 75 72 | 63 65 20 77 69 6c 6c 20 |e resour|ce will |
|000049b0| 62 65 20 65 6e 74 65 72 | 65 64 20 69 6e 74 6f 20 |be enter|ed into |
|000049c0| 74 68 65 20 73 6f 75 72 | 63 65 20 76 65 72 73 69 |the sour|ce versi|
|000049d0| 6f 6e 20 6e 75 6d 62 65 | 72 20 66 69 65 6c 64 2e |on numbe|r field.|
|000049e0| 20 20 54 68 65 20 69 6e | 74 65 72 66 61 63 65 20 | The in|terface |
|000049f0| 6f 66 20 74 68 69 73 20 | 63 6f 64 65 20 72 65 73 |of this |code res|
|00004a00| 6f 75 72 63 65 20 69 73 | 20 64 65 73 63 72 69 62 |ource is| describ|
|00004a10| 65 64 20 69 6e 20 74 68 | 65 20 73 65 63 74 69 6f |ed in th|e sectio|
|00004a20| 6e 20 d2 46 69 6c 65 2f | 52 65 73 6f 75 72 63 65 |n .File/|Resource|
|00004a30| 20 49 6e 66 6f 20 45 78 | 74 65 6e 73 69 6f 6e 20 | Info Ex|tension |
|00004a40| 52 65 66 65 72 65 6e 63 | 65 d3 2e 0d 46 6f 72 20 |Referenc|e...For |
|00004a50| 46 69 6c 65 20 41 74 6f | 6d 73 20 74 68 61 74 20 |File Ato|ms that |
|00004a60| 63 6f 6e 74 61 69 6e 20 | 7a 65 72 6f 20 69 6e 20 |contain |zero in |
|00004a70| 74 68 65 69 72 20 76 65 | 72 73 69 6f 6e 20 63 6f |their ve|rsion co|
|00004a80| 6d 70 61 72 65 20 72 65 | 73 6f 75 72 63 65 20 49 |mpare re|source I|
|00004a90| 44 20 66 69 65 6c 64 20 | 61 6e 64 20 61 72 65 20 |D field |and are |
|00004aa0| 75 73 69 6e 67 20 74 68 | 65 20 75 73 65 56 65 72 |using th|e useVer|
|00004ab0| 73 50 72 6f 63 54 6f 43 | 6f 6d 70 61 72 65 20 66 |sProcToC|ompare f|
|00004ac0| 6c 61 67 2c 20 20 53 63 | 72 69 70 74 43 68 65 63 |lag, Sc|riptChec|
|00004ad0| 6b 20 34 2e 30 20 77 69 | 6c 6c 20 61 75 74 6f 6d |k 4.0 wi|ll autom|
|00004ae0| 61 74 69 63 61 6c 6c 79 | 20 65 6e 74 65 72 20 74 |atically| enter t|
|00004af0| 68 65 20 76 65 72 73 69 | 6f 6e 20 6e 75 6d 62 65 |he versi|on numbe|
|00004b00| 72 20 66 72 6f 6d 20 74 | 68 65 20 d4 76 65 72 73 |r from t|he .vers|
|00004b10| d5 20 49 44 20 31 20 72 | 65 73 6f 75 72 63 65 20 |. ID 1 r|esource |
|00004b20| 66 6f 75 6e 64 20 69 6e | 20 74 68 65 20 73 6f 75 |found in| the sou|
|00004b30| 72 63 65 20 66 69 6c 65 | 2e 20 20 49 66 20 6e 6f |rce file|. If no|
|00004b40| 20 d4 76 65 72 73 d5 20 | 49 44 20 31 20 72 65 73 | .vers. |ID 1 res|
|00004b50| 6f 75 72 63 65 20 69 73 | 20 66 6f 75 6e 64 20 74 |ource is| found t|
|00004b60| 68 65 20 66 69 65 6c 64 | 20 69 73 20 6c 65 66 74 |he field| is left|
|00004b70| 20 75 6e 74 6f 75 63 68 | 65 64 2e 0d 46 69 6c 6c | untouch|ed..Fill|
|00004b80| 69 6e 67 20 69 6e 20 53 | 6f 75 72 63 65 20 43 72 |ing in S|ource Cr|
|00004b90| 65 61 74 69 6f 6e 20 44 | 61 74 65 73 0d 49 6e 20 |eation D|ates.In |
|00004ba0| 6f 72 64 65 72 20 74 6f | 20 65 6e 73 75 72 65 20 |order to| ensure |
|00004bb0| 74 68 61 74 20 74 68 65 | 20 49 6e 73 74 61 6c 6c |that the| Install|
|00004bc0| 65 72 20 66 69 6e 64 73 | 20 74 68 65 20 70 72 6f |er finds| the pro|
|00004bd0| 70 65 72 20 66 69 6c 65 | 73 20 6f 6e 20 74 68 65 |per file|s on the|
|00004be0| 20 73 6f 75 72 63 65 20 | 64 69 73 6b 73 2c 20 74 | source |disks, t|
|00004bf0| 68 65 20 63 72 65 61 74 | 69 6f 6e 20 64 61 74 65 |he creat|ion date|
|00004c00| 20 6f 66 20 74 68 65 20 | 66 69 6c 65 73 20 6d 75 | of the |files mu|
|00004c10| 73 74 20 62 65 20 70 6c | 61 63 65 64 20 69 6e 20 |st be pl|aced in |
|00004c20| 74 68 65 20 65 61 63 68 | 20 73 6f 75 72 63 65 20 |the each| source |
|00004c30| 66 69 6c 65 20 73 70 65 | 63 2e 20 20 49 66 20 74 |file spe|c. If t|
|00004c40| 68 65 20 73 63 72 69 70 | 74 20 77 72 69 74 65 72 |he scrip|t writer|
|00004c50| 20 70 6c 61 63 65 73 20 | 61 20 31 20 69 6e 20 74 | places |a 1 in t|
|00004c60| 68 65 20 63 72 65 61 74 | 69 6f 6e 20 64 61 74 65 |he creat|ion date|
|00004c70| 20 66 69 65 6c 64 20 6f | 66 20 74 68 65 20 d4 69 | field o|f the .i|
|00004c80| 6e 66 73 d5 20 72 65 73 | 6f 75 72 63 65 2c 20 53 |nfs. res|ource, S|
|00004c90| 63 72 69 70 74 43 68 65 | 63 6b 20 77 69 6c 6c 20 |criptChe|ck will |
|00004ca0| 72 65 70 6c 61 63 65 20 | 74 68 61 74 20 77 69 74 |replace |that wit|
|00004cb0| 68 20 74 68 65 20 63 72 | 65 61 74 69 6f 6e 20 64 |h the cr|eation d|
|00004cc0| 61 74 65 20 74 68 61 74 | 20 69 74 20 66 69 6e 64 |ate that| it find|
|00004cd0| 73 20 77 68 65 6e 20 73 | 63 61 6e 6e 69 6e 67 20 |s when s|canning |
|00004ce0| 74 68 65 20 73 6f 75 72 | 63 65 20 64 69 73 6b 73 |the sour|ce disks|
|00004cf0| 2e 20 20 49 6e 20 61 64 | 64 69 74 69 6f 6e 2c 20 |. In ad|dition, |
|00004d00| 61 20 63 6f 6d 6d 61 6e | 64 20 6c 69 6e 65 20 70 |a comman|d line p|
|00004d10| 61 72 61 6d 65 74 65 72 | 20 74 65 6c 6c 73 20 53 |arameter| tells S|
|00004d20| 63 72 69 70 74 43 68 65 | 63 6b 20 74 6f 20 75 70 |criptChe|ck to up|
|00004d30| 64 61 74 65 20 41 4c 4c | 20 63 72 65 61 74 69 6f |date ALL| creatio|
|00004d40| 6e 20 64 61 74 65 73 20 | 72 65 67 61 72 64 6c 65 |n dates |regardle|
|00004d50| 73 73 20 6f 66 20 77 68 | 65 74 68 65 72 20 61 20 |ss of wh|ether a |
|00004d60| 31 20 65 78 69 73 74 73 | 20 69 6e 20 74 68 61 74 |1 exists| in that|
|00004d70| 20 66 69 65 6c 64 20 28 | 73 65 65 20 22 55 73 69 | field (|see "Usi|
|00004d80| 6e 67 20 53 63 72 69 70 | 74 43 68 65 63 6b 22 20 |ng Scrip|tCheck" |
|00004d90| 73 65 63 74 69 6f 6e 20 | 62 65 6c 6f 77 29 2e 20 |section |below). |
|00004da0| 20 54 6f 20 6d 61 6e 75 | 61 6c 6c 79 20 66 69 6c | To manu|ally fil|
|00004db0| 6c 20 69 6e 20 74 68 65 | 20 63 72 65 61 74 69 6f |l in the| creatio|
|00004dc0| 6e 20 64 61 74 65 20 66 | 69 65 6c 64 2c 20 73 69 |n date f|ield, si|
|00004dd0| 6d 70 6c 79 20 70 6c 61 | 63 65 20 61 20 76 61 6c |mply pla|ce a val|
|00004de0| 75 65 20 6f 74 68 65 72 | 20 74 68 61 6e 20 31 20 |ue other| than 1 |
|00004df0| 69 6e 20 74 68 61 74 20 | 66 69 65 6c 64 2e 0d 46 |in that |field..F|
|00004e00| 69 6c 6c 69 6e 67 20 69 | 6e 20 46 69 6e 64 65 72 |illing i|n Finder|
|00004e10| 20 46 6c 61 67 73 0d 42 | 79 20 64 65 66 61 75 6c | Flags.B|y defaul|
|00004e20| 74 2c 20 53 63 72 69 70 | 74 43 68 65 63 6b 20 77 |t, Scrip|tCheck w|
|00004e30| 69 6c 6c 20 75 70 64 61 | 74 65 20 74 68 65 20 46 |ill upda|te the F|
|00004e40| 69 6e 64 65 72 20 66 6c | 61 67 73 20 66 69 65 6c |inder fl|ags fiel|
|00004e50| 64 20 69 6e 20 d4 69 6e | 66 61 d5 20 72 65 73 6f |d in .in|fa. reso|
|00004e60| 75 72 63 65 73 20 69 66 | 20 74 68 65 20 66 69 65 |urces if| the fie|
|00004e70| 6c 64 20 63 6f 6e 74 61 | 69 6e 73 20 7a 65 72 6f |ld conta|ins zero|
|00004e80| 2e 20 20 54 6f 20 66 6f | 72 63 65 20 61 6c 6c 20 |. To fo|rce all |
|00004e90| 46 69 6e 64 65 72 20 46 | 6c 61 67 20 66 69 65 6c |Finder F|lag fiel|
|00004ea0| 64 73 20 74 6f 20 62 65 | 20 75 70 64 61 74 65 64 |ds to be| updated|
|00004eb0| 2c 20 72 65 67 61 72 64 | 6c 65 73 73 20 6f 66 20 |, regard|less of |
|00004ec0| 74 68 65 69 72 20 70 72 | 69 6f 72 20 76 61 6c 75 |their pr|ior valu|
|00004ed0| 65 2c 20 75 73 65 20 74 | 68 65 20 2d 66 20 6f 70 |e, use t|he -f op|
|00004ee0| 74 69 6f 6e 2e 0d 46 69 | 6c 6c 69 6e 67 20 69 6e |tion..Fi|lling in|
|00004ef0| 20 50 61 63 6b 61 67 65 | 20 43 6f 6d 6d 65 6e 74 | Package| Comment|
|00004f00| 20 52 65 6c 65 61 73 65 | 20 44 61 74 65 73 0d 54 | Release| Dates.T|
|00004f10| 68 65 20 d4 69 63 6d 74 | d5 20 28 6f 72 20 d4 69 |he .icmt|. (or .i|
|00004f20| 6e 70 63 d5 29 20 70 61 | 63 6b 61 67 65 20 63 6f |npc.) pa|ckage co|
|00004f30| 6d 6d 65 6e 74 20 72 65 | 73 6f 75 72 63 65 20 72 |mment re|source r|
|00004f40| 65 71 75 69 72 65 73 20 | 61 20 66 69 65 6c 64 20 |equires |a field |
|00004f50| 74 68 61 74 20 73 70 65 | 63 69 66 69 65 73 20 74 |that spe|cifies t|
|00004f60| 68 65 20 76 65 72 73 69 | 6f 6e 20 72 65 6c 65 61 |he versi|on relea|
|00004f70| 73 65 20 64 61 74 65 20 | 6f 66 20 74 68 65 20 73 |se date |of the s|
|00004f80| 6f 66 74 77 61 72 65 20 | 69 6e 20 74 68 61 74 20 |oftware |in that |
|00004f90| 70 61 63 6b 61 67 65 2e | 20 20 54 68 69 73 20 20 |package.| This |
|00004fa0| 69 73 20 61 20 4c 6f 6e | 67 49 6e 74 20 76 61 6c |is a Lon|gInt val|
|00004fb0| 75 65 20 74 68 61 74 20 | 63 6f 72 72 65 73 70 6f |ue that |correspo|
|00004fc0| 6e 64 73 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |nds to t|he numbe|
|00004fd0| 72 20 6f 66 20 73 65 63 | 6f 6e 64 73 20 62 65 74 |r of sec|onds bet|
|00004fe0| 77 65 65 6e 20 4a 61 6e | 75 61 72 79 20 31 2c 20 |ween Jan|uary 1, |
|00004ff0| 31 39 30 34 20 61 6e 64 | 20 74 68 65 20 72 65 6c |1904 and| the rel|
|00005000| 65 61 73 65 20 64 61 74 | 65 2e 20 20 20 49 6e 20 |ease dat|e. In |
|00005010| 74 68 65 20 70 61 73 74 | 2c 20 74 68 65 20 73 63 |the past|, the sc|
|00005020| 72 69 70 74 20 77 72 69 | 74 65 72 20 68 61 64 20 |ript wri|ter had |
|00005030| 74 6f 20 63 61 6c 63 75 | 6c 61 74 65 20 74 68 69 |to calcu|late thi|
|00005040| 73 20 76 61 6c 75 65 20 | 61 6e 64 20 70 6c 61 63 |s value |and plac|
|00005050| 65 20 69 74 20 69 6e 20 | 74 68 65 20 d4 69 63 6d |e it in |the .icm|
|00005060| 74 d5 20 72 65 73 6f 75 | 72 63 65 2e 20 20 53 63 |t. resou|rce. Sc|
|00005070| 72 69 70 74 43 68 65 63 | 6b 20 61 6c 6c 6f 77 73 |riptChec|k allows|
|00005080| 20 61 20 6d 75 63 68 20 | 73 69 6d 70 6c 65 72 20 | a much |simpler |
|00005090| 6d 65 74 68 6f 64 20 74 | 6f 20 67 65 74 20 74 68 |method t|o get th|
|000050a0| 65 20 63 6f 72 72 65 63 | 74 20 4c 6f 6e 67 49 6e |e correc|t LongIn|
|000050b0| 74 20 76 61 6c 75 65 20 | 69 6e 20 74 68 69 73 20 |t value |in this |
|000050c0| 72 65 73 6f 75 72 63 65 | 2e 20 20 49 6e 73 74 65 |resource|. Inste|
|000050d0| 61 64 20 6f 66 20 65 6e | 74 65 72 69 6e 67 20 61 |ad of en|tering a|
|000050e0| 20 76 61 6c 75 65 20 69 | 6e 20 73 65 63 6f 6e 64 | value i|n second|
|000050f0| 73 20 69 6e 20 74 68 69 | 73 20 66 69 65 6c 64 2c |s in thi|s field,|
|00005100| 20 74 68 65 20 73 63 72 | 69 70 74 20 77 72 69 74 | the scr|ipt writ|
|00005110| 65 72 20 63 61 6e 20 73 | 65 74 20 61 20 6e 75 6d |er can s|et a num|
|00005120| 65 72 69 63 20 72 65 70 | 72 65 73 65 6e 74 61 74 |eric rep|resentat|
|00005130| 69 6f 6e 20 6f 66 20 74 | 68 65 20 64 61 74 65 20 |ion of t|he date |
|00005140| 69 6e 20 74 68 65 20 66 | 6f 72 6d 20 6d 6d 64 64 |in the f|orm mmdd|
|00005150| 79 79 79 79 20 69 6e 20 | 74 68 69 73 20 66 69 65 |yyyy in |this fie|
|00005160| 6c 64 20 61 6e 64 20 53 | 63 72 69 70 74 43 68 65 |ld and S|criptChe|
|00005170| 63 6b 20 77 69 6c 6c 20 | 63 6f 6e 76 65 72 74 20 |ck will |convert |
|00005180| 69 74 20 74 6f 20 74 68 | 65 20 63 6f 72 72 65 63 |it to th|e correc|
|00005190| 74 20 76 61 6c 75 65 20 | 69 6e 20 73 65 63 6f 6e |t value |in secon|
|000051a0| 64 73 2e 20 20 46 6f 72 | 20 65 78 61 6d 70 6c 65 |ds. For| example|
|000051b0| 2c 20 69 66 20 74 68 65 | 20 72 65 6c 65 61 73 65 |, if the| release|
|000051c0| 20 64 61 74 65 20 69 73 | 20 46 65 62 72 75 61 72 | date is| Februar|
|000051d0| 79 20 35 2c 20 31 39 39 | 30 2c 20 74 68 65 6e 20 |y 5, 199|0, then |
|000051e0| 70 6c 61 63 65 20 32 30 | 35 31 39 39 30 20 69 6e |place 20|51990 in|
|000051f0| 20 74 68 65 20 64 61 74 | 65 20 66 69 65 6c 64 20 | the dat|e field |
|00005200| 6f 66 20 74 68 65 20 d4 | 69 63 6d 74 d5 20 72 65 |of the .|icmt. re|
|00005210| 73 6f 75 72 63 65 2e 20 | 20 4e 6f 74 65 3a 20 41 |source. | Note: A|
|00005220| 20 6d 6f 6e 74 68 20 76 | 61 6c 75 65 20 6c 65 73 | month v|alue les|
|00005230| 73 20 74 68 61 6e 20 31 | 30 20 64 6f 65 73 20 6e |s than 1|0 does n|
|00005240| 6f 74 20 6e 65 65 64 20 | 74 6f 20 62 65 20 70 72 |ot need |to be pr|
|00005250| 65 63 65 64 65 64 20 77 | 69 74 68 20 61 20 30 2c |eceded w|ith a 0,|
|00005260| 20 62 75 74 20 61 20 64 | 61 79 20 76 61 6c 75 65 | but a d|ay value|
|00005270| 20 6c 65 73 73 20 74 68 | 61 6e 20 31 30 20 6d 75 | less th|an 10 mu|
|00005280| 73 74 20 62 65 20 70 72 | 65 63 65 64 65 64 20 77 |st be pr|eceded w|
|00005290| 69 74 68 20 61 20 30 20 | 61 73 20 69 73 20 73 68 |ith a 0 |as is sh|
|000052a0| 6f 77 6e 20 69 6e 20 74 | 68 65 20 65 78 61 6d 70 |own in t|he examp|
|000052b0| 6c 65 2e 20 20 54 6f 20 | 66 69 6c 6c 20 69 6e 20 |le. To |fill in |
|000052c0| 74 68 65 20 72 65 6c 65 | 61 73 65 20 64 61 74 65 |the rele|ase date|
|000052d0| 20 66 69 65 6c 64 20 6d | 61 6e 75 61 6c 6c 79 2c | field m|anually,|
|000052e0| 20 70 6c 61 63 65 20 61 | 20 74 72 75 65 20 73 65 | place a| true se|
|000052f0| 63 6f 6e 64 73 20 4c 6f | 6e 67 49 6e 74 20 76 61 |conds Lo|ngInt va|
|00005300| 6c 75 65 20 69 6e 20 74 | 68 61 74 20 66 69 65 6c |lue in t|hat fiel|
|00005310| 64 20 61 6e 64 20 53 63 | 72 69 70 74 43 68 65 63 |d and Sc|riptChec|
|00005320| 6b 20 77 69 6c 6c 20 6e | 6f 74 20 6d 6f 64 69 66 |k will n|ot modif|
|00005330| 79 20 69 74 2e 20 0d 55 | 70 64 61 74 69 6e 67 20 |y it. .U|pdating |
|00005340| 74 68 65 20 53 63 72 69 | 70 74 20 43 72 65 61 74 |the Scri|pt Creat|
|00005350| 69 6f 6e 20 44 61 74 65 | 20 52 65 73 6f 75 72 63 |ion Date| Resourc|
|00005360| 65 20 28 d4 69 6e 63 64 | d5 29 0d 53 63 72 69 70 |e (.incd|.).Scrip|
|00005370| 74 43 68 65 63 6b 20 77 | 69 6c 6c 20 61 6c 77 61 |tCheck w|ill alwa|
|00005380| 79 73 20 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |ys autom|atically|
|00005390| 20 63 72 65 61 74 65 20 | 6f 72 20 75 70 64 61 74 | create |or updat|
|000053a0| 65 20 74 68 65 20 d4 69 | 6e 63 64 d5 20 72 65 73 |e the .i|ncd. res|
|000053b0| 6f 75 72 63 65 20 69 6e | 20 74 68 65 20 73 63 72 |ource in| the scr|
|000053c0| 69 70 74 20 66 69 6c 65 | 2e 20 20 54 68 69 73 20 |ipt file|. This |
|000053d0| 72 65 73 6f 75 72 63 65 | 20 69 73 20 75 73 65 64 |resource| is used|
|000053e0| 20 62 79 20 74 68 65 20 | 49 6e 73 74 61 6c 6c 65 | by the |Installe|
|000053f0| 72 20 74 6f 20 68 65 6c | 70 20 66 69 6e 64 20 73 |r to hel|p find s|
|00005400| 6f 75 72 63 65 20 66 6f | 6c 64 65 72 73 20 6f 6e |ource fo|lders on|
|00005410| 20 41 70 70 6c 65 53 68 | 61 72 65 20 76 6f 6c 75 | AppleSh|are volu|
|00005420| 6d 65 73 2e 0d 55 70 64 | 61 74 69 6e 67 20 74 68 |mes..Upd|ating th|
|00005430| 65 20 53 63 72 69 70 74 | 20 53 69 7a 65 20 52 65 |e Script| Size Re|
|00005440| 73 6f 75 72 63 65 20 28 | d4 69 6e 73 7a d5 29 0d |source (|.insz.).|
|00005450| 53 63 72 69 70 74 43 68 | 65 63 6b 20 77 69 6c 6c |ScriptCh|eck will|
|00005460| 20 61 6c 77 61 79 73 20 | 61 75 74 6f 6d 61 74 69 | always |automati|
|00005470| 63 61 6c 6c 79 20 63 72 | 65 61 74 65 20 6f 72 20 |cally cr|eate or |
|00005480| 75 70 64 61 74 65 20 74 | 68 65 20 d4 69 6e 73 7a |update t|he .insz|
|00005490| d5 20 72 65 73 6f 75 72 | 63 65 20 69 6e 20 74 68 |. resour|ce in th|
|000054a0| 65 20 73 63 72 69 70 74 | 20 66 69 6c 65 2e 20 20 |e script| file. |
|000054b0| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 69 73 |This res|ource is|
|000054c0| 20 75 73 65 64 20 62 79 | 20 74 68 65 20 49 6e 73 | used by| the Ins|
|000054d0| 74 61 6c 6c 65 72 20 74 | 6f 20 63 61 6c 63 75 6c |taller t|o calcul|
|000054e0| 61 74 65 20 74 68 65 20 | 73 69 7a 65 20 6f 66 20 |ate the |size of |
|000054f0| 74 68 65 20 73 63 72 69 | 70 74 20 73 75 62 2d 68 |the scri|pt sub-h|
|00005500| 65 61 70 2e 0d 46 69 6c | 65 2f 52 65 73 6f 75 72 |eap..Fil|e/Resour|
|00005510| 63 65 20 49 6e 66 6f 20 | 45 78 74 65 6e 73 69 6f |ce Info |Extensio|
|00005520| 6e 20 52 65 66 65 72 65 | 6e 63 65 0d 54 68 69 73 |n Refere|nce.This|
|00005530| 20 73 65 63 74 69 6f 6e | 20 64 65 73 63 72 69 62 | section| describ|
|00005540| 65 73 20 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |es the f|unction |
|00005550| 69 6e 74 65 72 66 61 63 | 65 20 61 6e 64 20 72 65 |interfac|e and re|
|00005560| 73 6f 75 72 63 65 20 64 | 65 73 63 72 69 70 74 69 |source d|escripti|
|00005570| 6f 6e 73 20 6e 65 65 64 | 65 64 20 74 6f 20 75 73 |ons need|ed to us|
|00005580| 65 20 74 68 65 20 53 63 | 72 69 70 74 43 68 65 63 |e the Sc|riptChec|
|00005590| 6b 20 46 69 6c 65 2f 52 | 65 73 6f 75 72 63 65 20 |k File/R|esource |
|000055a0| 49 6e 66 6f 20 45 78 74 | 65 6e 73 69 6f 6e 20 73 |Info Ext|ension s|
|000055b0| 63 72 69 70 74 20 72 65 | 73 6f 75 72 63 65 2e 20 |cript re|source. |
|000055c0| 20 54 68 65 20 66 75 6e | 63 74 69 6f 6e 20 70 72 | The fun|ction pr|
|000055d0| 6f 74 6f 74 79 70 65 20 | 61 6e 64 20 70 61 72 61 |ototype |and para|
|000055e0| 6d 65 74 65 72 20 62 6c | 6f 63 6b 20 61 72 65 20 |meter bl|ock are |
|000055f0| 64 65 66 69 6e 65 64 20 | 69 6e 20 66 69 6c 65 20 |defined |in file |
|00005600| d2 54 61 72 67 65 74 49 | 6e 66 6f 4d 67 74 2e 68 |.TargetI|nfoMgt.h|
|00005610| d3 2e 0d 46 75 6e 63 74 | 69 6f 6e 20 49 6e 74 65 |...Funct|ion Inte|
|00005620| 72 66 61 63 65 0d 46 69 | 6c 65 2f 52 65 73 6f 75 |rface.Fi|le/Resou|
|00005630| 72 63 65 20 49 6e 66 6f | 20 45 78 74 65 6e 73 69 |rce Info| Extensi|
|00005640| 6f 6e 0d 53 63 72 69 70 | 74 43 68 65 63 6b 20 63 |on.Scrip|tCheck c|
|00005650| 61 6c 6c 73 20 79 6f 75 | 72 20 66 69 6c 65 2f 72 |alls you|r file/r|
|00005660| 65 73 6f 75 72 63 65 20 | 69 6e 66 6f 20 65 78 74 |esource |info ext|
|00005670| 65 6e 73 69 6f 6e 20 63 | 6f 64 65 20 72 65 73 6f |ension c|ode reso|
|00005680| 75 72 63 65 20 77 68 65 | 6e 20 74 68 65 20 41 74 |urce whe|n the At|
|00005690| 6f 6d 20 45 78 74 65 6e | 64 65 72 20 72 65 73 6f |om Exten|der reso|
|000056a0| 75 72 63 65 20 49 44 20 | 65 6e 74 65 72 65 64 20 |urce ID |entered |
|000056b0| 69 6e 20 74 68 65 20 61 | 74 6f 6d 20 69 73 20 6e |in the a|tom is n|
|000056c0| 6f 6e 2d 7a 65 72 6f 2e | 20 20 53 63 72 69 70 74 |on-zero.| Script|
|000056d0| 43 68 65 63 6b 20 6c 6f | 6f 6b 73 20 66 6f 72 20 |Check lo|oks for |
|000056e0| 61 6e 20 d4 73 63 65 78 | d5 20 72 65 73 6f 75 72 |an .scex|. resour|
|000056f0| 63 65 20 69 6e 20 61 20 | 66 69 6c 65 20 77 69 74 |ce in a |file wit|
|00005700| 68 20 74 68 65 20 6e 61 | 6d 65 20 d2 73 63 72 69 |h the na|me .scri|
|00005710| 70 74 46 69 6c 65 4e 61 | 6d 65 2e 73 63 78 d3 2c |ptFileNa|me.scx.,|
|00005720| 20 77 68 65 72 65 20 73 | 63 72 69 70 74 46 69 6c | where s|criptFil|
|00005730| 65 4e 61 6d 65 20 69 73 | 20 74 68 65 20 6e 61 6d |eName is| the nam|
|00005740| 65 20 6f 66 20 74 68 65 | 20 73 63 72 69 70 74 20 |e of the| script |
|00005750| 79 6f 75 20 61 72 65 20 | 63 68 65 63 6b 69 6e 67 |you are |checking|
|00005760| 2e 20 20 54 68 69 73 20 | 72 65 73 6f 75 72 63 65 |. This |resource|
|00005770| 20 69 73 20 61 6c 6d 6f | 73 74 20 69 64 65 6e 74 | is almo|st ident|
|00005780| 69 63 61 6c 20 74 6f 20 | 74 68 65 20 61 63 74 75 |ical to |the actu|
|00005790| 61 6c 20 41 74 6f 6d 20 | 45 78 74 65 6e 64 65 72 |al Atom |Extender|
|000057a0| 20 28 d4 69 6e 65 78 d5 | 29 20 72 65 73 6f 75 72 | (.inex.|) resour|
|000057b0| 63 65 2c 20 77 68 69 63 | 68 20 64 65 73 63 72 69 |ce, whic|h descri|
|000057c0| 62 65 73 20 68 6f 77 20 | 74 6f 20 63 61 6c 6c 20 |bes how |to call |
|000057d0| 74 68 65 20 63 6f 64 65 | 20 72 65 73 6f 75 72 63 |the code| resourc|
|000057e0| 65 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 74 68 65 |e contai|ning the|
|000057f0| 20 66 69 6c 65 2f 72 65 | 73 6f 75 72 63 65 20 69 | file/re|source i|
|00005800| 6e 66 6f 20 66 75 6e 63 | 74 69 6f 6e 2e 0d 54 68 |nfo func|tion..Th|
|00005810| 65 20 66 69 6c 65 2f 72 | 65 73 6f 75 72 63 65 20 |e file/r|esource |
|00005820| 69 6e 66 6f 20 66 75 6e | 63 74 69 6f 6e 20 6d 75 |info fun|ction mu|
|00005830| 73 74 20 68 61 76 65 20 | 74 68 65 20 66 6f 6c 6c |st have |the foll|
|00005840| 6f 77 69 6e 67 20 64 65 | 66 69 6e 69 74 69 6f 6e |owing de|finition|
|00005850| 20 61 6e 64 20 62 65 20 | 74 68 65 20 65 6e 74 72 | and be |the entr|
|00005860| 79 20 70 6f 69 6e 74 20 | 6f 66 20 74 68 65 20 63 |y point |of the c|
|00005870| 6f 64 65 20 72 65 73 6f | 75 72 63 65 2e 0d 74 79 |ode reso|urce..ty|
|00005880| 70 65 64 65 66 20 4f 53 | 45 72 72 09 28 2a 54 61 |pedef OS|Err.(*Ta|
|00005890| 72 67 65 74 49 6e 66 6f | 50 72 6f 63 50 74 72 29 |rgetInfo|ProcPtr)|
|000058a0| 28 20 54 61 72 67 65 74 | 49 6e 66 6f 50 42 50 74 |( Target|InfoPBPt|
|000058b0| 72 20 29 3b 09 09 0d 54 | 68 65 20 72 65 73 75 6c |r );...T|he resul|
|000058c0| 74 20 69 73 20 64 65 66 | 69 6e 65 64 20 61 73 20 |t is def|ined as |
|000058d0| 61 6e 20 4f 53 45 72 72 | 2e 20 20 52 65 74 75 72 |an OSErr|. Retur|
|000058e0| 6e 69 6e 67 20 61 6e 79 | 20 6f 74 68 65 72 20 72 |ning any| other r|
|000058f0| 65 73 75 6c 74 20 62 65 | 73 69 64 65 73 20 6e 6f |esult be|sides no|
|00005900| 45 72 72 20 74 65 6c 6c | 73 20 53 63 72 69 70 74 |Err tell|s Script|
|00005910| 43 68 65 63 6b 20 74 6f | 20 75 73 65 20 74 68 65 |Check to| use the|
|00005920| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 66 72 6f | informa|tion fro|
|00005930| 6d 20 74 68 65 20 61 63 | 74 75 61 6c 20 73 6f 75 |m the ac|tual sou|
|00005940| 72 63 65 20 66 69 6c 65 | 20 66 6f 75 6e 64 20 6f |rce file| found o|
|00005950| 6e 20 74 68 65 20 73 6f | 75 72 63 65 20 64 69 73 |n the so|urce dis|
|00005960| 6b 20 61 6e 64 20 64 69 | 73 72 65 67 61 72 64 20 |k and di|sregard |
|00005970| 61 6e 79 20 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |any inf|ormation|
|00005980| 20 70 61 73 73 65 64 20 | 62 61 63 6b 20 74 68 72 | passed |back thr|
|00005990| 6f 75 67 68 20 74 68 65 | 20 70 61 72 61 6d 65 74 |ough the| paramet|
|000059a0| 65 72 20 62 6c 6f 63 6b | 2e 0d 56 65 72 73 69 6f |er block|..Versio|
|000059b0| 6e 20 49 6e 66 6f 20 45 | 78 74 65 6e 73 69 6f 6e |n Info E|xtension|
|000059c0| 0d 53 63 72 69 70 74 43 | 68 65 63 6b 20 63 61 6c |.ScriptC|heck cal|
|000059d0| 6c 73 20 79 6f 75 72 20 | 76 65 72 73 69 6f 6e 20 |ls your |version |
|000059e0| 63 6f 6d 70 61 72 65 20 | 65 78 74 65 6e 73 69 6f |compare |extensio|
|000059f0| 6e 20 63 6f 64 65 20 72 | 65 73 6f 75 72 63 65 20 |n code r|esource |
|00005a00| 77 68 65 6e 20 74 68 65 | 20 76 65 72 73 69 6f 6e |when the| version|
|00005a10| 20 63 6f 6d 70 61 72 65 | 20 72 65 73 6f 75 72 63 | compare| resourc|
|00005a20| 65 20 49 44 20 65 6e 74 | 65 72 65 64 20 69 6e 20 |e ID ent|ered in |
|00005a30| 74 68 65 20 61 74 6f 6d | 20 69 73 20 6e 6f 6e 2d |the atom| is non-|
|00005a40| 7a 65 72 6f 2e 20 20 53 | 63 72 69 70 74 43 68 65 |zero. S|criptChe|
|00005a50| 63 6b 20 6c 6f 6f 6b 73 | 20 66 6f 72 20 61 6e 20 |ck looks| for an |
|00005a60| d4 73 63 76 63 20 72 65 | 73 6f 75 72 63 65 20 69 |.scvc re|source i|
|00005a70| 6e 20 61 20 66 69 6c 65 | 20 77 69 74 68 20 74 68 |n a file| with th|
|00005a80| 65 20 6e 61 6d 65 20 d2 | 73 63 72 69 70 74 46 69 |e name .|scriptFi|
|00005a90| 6c 65 4e 61 6d 65 2e 73 | 63 78 d3 2c 20 77 68 65 |leName.s|cx., whe|
|00005aa0| 72 65 20 73 63 72 69 70 | 74 46 69 6c 65 4e 61 6d |re scrip|tFileNam|
|00005ab0| 65 20 69 73 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |e is the| name of|
|00005ac0| 20 74 68 65 20 73 63 72 | 69 70 74 20 79 6f 75 20 | the scr|ipt you |
|00005ad0| 61 72 65 20 63 68 65 63 | 6b 69 6e 67 2e 20 20 54 |are chec|king. T|
|00005ae0| 68 69 73 20 72 65 73 6f | 75 72 63 65 20 69 73 20 |his reso|urce is |
|00005af0| 61 6c 6d 6f 73 74 20 69 | 64 65 6e 74 69 63 61 6c |almost i|dentical|
|00005b00| 20 74 6f 20 74 68 65 20 | 61 63 74 75 61 6c 20 56 | to the |actual V|
|00005b10| 65 72 73 69 6f 6e 43 6f | 6d 70 61 72 65 20 28 d4 |ersionCo|mpare (.|
|00005b20| 69 6e 76 63 d5 29 20 72 | 65 73 6f 75 72 63 65 2e |invc.) r|esource.|
|00005b30| 0d 54 68 65 20 76 65 72 | 73 69 6f 6e 20 69 6e 66 |.The ver|sion inf|
|00005b40| 6f 20 66 75 6e 63 74 69 | 6f 6e 20 6d 75 73 74 20 |o functi|on must |
|00005b50| 68 61 76 65 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |have the| followi|
|00005b60| 6e 67 20 64 65 66 69 6e | 69 74 69 6f 6e 20 61 6e |ng defin|ition an|
|00005b70| 64 20 62 65 20 74 68 65 | 20 65 6e 74 72 79 20 70 |d be the| entry p|
|00005b80| 6f 69 6e 74 20 6f 66 20 | 74 68 65 20 63 6f 64 65 |oint of |the code|
|00005b90| 20 72 65 73 6f 75 72 63 | 65 2e 0d 74 79 70 65 64 | resourc|e..typed|
|00005ba0| 65 66 20 6c 6f 6e 67 09 | 28 2a 54 61 72 67 65 74 |ef long.|(*Target|
|00005bb0| 56 65 72 73 50 72 6f 63 | 50 74 72 29 28 20 54 61 |VersProc|Ptr)( Ta|
|00005bc0| 72 67 65 74 56 65 72 73 | 50 42 50 74 72 20 29 3b |rgetVers|PBPtr );|
|00005bd0| 09 09 0d 54 68 65 20 72 | 65 73 75 6c 74 20 69 73 |...The r|esult is|
|00005be0| 20 64 65 66 69 6e 65 64 | 20 61 73 20 61 6e 20 4f | defined| as an O|
|00005bf0| 53 45 72 72 2e 20 20 52 | 65 74 75 72 6e 69 6e 67 |SErr. R|eturning|
|00005c00| 20 61 6e 79 20 6f 74 68 | 65 72 20 72 65 73 75 6c | any oth|er resul|
|00005c10| 74 20 62 65 73 69 64 65 | 73 20 6e 6f 45 72 72 20 |t beside|s noErr |
|00005c20| 74 65 6c 6c 73 20 53 63 | 72 69 70 74 43 68 65 63 |tells Sc|riptChec|
|00005c30| 6b 20 74 6f 20 75 73 65 | 20 74 68 65 20 69 6e 66 |k to use| the inf|
|00005c40| 6f 72 6d 61 74 69 6f 6e | 20 66 72 6f 6d 20 74 68 |ormation| from th|
|00005c50| 65 20 61 63 74 75 61 6c | 20 73 6f 75 72 63 65 20 |e actual| source |
|00005c60| 66 69 6c 65 20 66 6f 75 | 6e 64 20 6f 6e 20 74 68 |file fou|nd on th|
|00005c70| 65 20 73 6f 75 72 63 65 | 20 64 69 73 6b 20 61 6e |e source| disk an|
|00005c80| 64 20 64 69 73 72 65 67 | 61 72 64 20 61 6e 79 20 |d disreg|ard any |
|00005c90| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 70 61 73 | informa|tion pas|
|00005ca0| 73 65 64 20 62 61 63 6b | 20 74 68 72 6f 75 67 68 |sed back| through|
|00005cb0| 20 74 68 65 20 70 61 72 | 61 6d 65 74 65 72 20 62 | the par|ameter b|
|00005cc0| 6c 6f 63 6b 2e 0d 50 61 | 72 61 6d 65 74 65 72 20 |lock..Pa|rameter |
|00005cd0| 42 6c 6f 63 6b 0d 46 69 | 6c 65 2f 52 65 73 6f 75 |Block.Fi|le/Resou|
|00005ce0| 72 63 65 20 49 6e 66 6f | 20 45 78 74 65 6e 73 69 |rce Info| Extensi|
|00005cf0| 6f 6e 20 50 61 72 61 6d | 65 74 65 72 20 42 6c 6f |on Param|eter Blo|
|00005d00| 63 6b 0d 54 68 65 20 66 | 69 6c 65 2f 72 65 73 6f |ck.The f|ile/reso|
|00005d10| 75 72 63 65 20 69 6e 66 | 6f 20 66 75 6e 63 74 69 |urce inf|o functi|
|00005d20| 6f 6e 20 63 6f 64 65 20 | 72 65 73 6f 75 72 63 65 |on code |resource|
|00005d30| 20 69 73 20 70 61 73 73 | 65 64 20 61 20 70 6f 69 | is pass|ed a poi|
|00005d40| 6e 74 65 72 20 74 6f 20 | 61 20 70 61 72 61 6d 65 |nter to |a parame|
|00005d50| 74 65 72 20 62 6c 6f 63 | 6b 20 63 6f 6e 74 61 69 |ter bloc|k contai|
|00005d60| 6e 69 6e 67 20 66 69 65 | 6c 64 73 20 74 68 61 74 |ning fie|lds that|
|00005d70| 20 79 6f 75 20 77 69 6c | 6c 20 70 61 73 73 20 62 | you wil|l pass b|
|00005d80| 61 63 6b 20 6f 72 69 67 | 69 6e 61 6c 20 73 6f 75 |ack orig|inal sou|
|00005d90| 72 63 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 2e |rce info|rmation.|
|00005da0| 0d 23 64 65 66 69 6e 65 | 09 6b 44 61 74 61 54 79 |.#define|.kDataTy|
|00005db0| 70 65 49 73 46 69 6c 65 | 09 2d 31 0d 23 64 65 66 |peIsFile|.-1.#def|
|00005dc0| 69 6e 65 09 6b 44 61 74 | 61 54 79 70 65 49 73 52 |ine.kDat|aTypeIsR|
|00005dd0| 73 72 63 09 31 0d 74 79 | 70 65 64 65 66 20 73 74 |src.1.ty|pedef st|
|00005de0| 72 75 63 74 20 7b 0d 20 | 2d 3e 09 46 53 53 70 65 |ruct {. |->.FSSpe|
|00005df0| 63 09 09 66 53 72 63 46 | 53 53 70 65 63 3b 0d 20 |c..fSrcF|SSpec;. |
|00005e00| 2d 3e 09 6c 6f 6e 67 09 | 09 09 66 53 72 63 44 61 |->.long.|..fSrcDa|
|00005e10| 74 61 54 79 70 65 3b 0d | 20 2d 3e 09 53 74 72 33 |taType;.| ->.Str3|
|00005e20| 31 09 09 09 66 54 67 74 | 46 69 6c 65 4e 61 6d 65 |1...fTgt|FileName|
|00005e30| 3b 0d 3c 2d 09 09 73 68 | 6f 72 74 09 09 09 66 54 |;.<-..sh|ort...fT|
|00005e40| 67 74 46 69 6e 64 65 72 | 41 74 74 72 73 3b 0d 3c |gtFinder|Attrs;.<|
|00005e50| 2d 09 09 6c 6f 6e 67 09 | 09 09 66 54 67 74 44 61 |-..long.|..fTgtDa|
|00005e60| 74 61 46 6f 72 6b 53 69 | 7a 65 3b 0d 3c 2d 09 09 |taForkSi|ze;.<-..|
|00005e70| 6c 6f 6e 67 09 09 09 66 | 54 67 74 52 73 72 63 46 |long...f|TgtRsrcF|
|00005e80| 6f 72 6b 53 69 7a 65 3b | 0d 3c 2d 09 09 6c 6f 6e |orkSize;|.<-..lon|
|00005e90| 67 09 09 09 66 54 67 74 | 43 72 65 61 74 69 6f 6e |g...fTgt|Creation|
|00005ea0| 44 61 74 65 3b 0d 7d 20 | 54 67 74 46 69 6c 65 49 |Date;.} |TgtFileI|
|00005eb0| 6e 66 6f 54 79 70 65 3b | 0d 74 79 70 65 64 65 66 |nfoType;|.typedef|
|00005ec0| 20 73 74 72 75 63 74 20 | 7b 0d 20 2d 3e 09 46 53 | struct |{. ->.FS|
|00005ed0| 53 70 65 63 09 09 66 53 | 72 63 46 53 53 70 65 63 |Spec..fS|rcFSSpec|
|00005ee0| 3b 0d 20 2d 3e 09 6c 6f | 6e 67 09 09 09 66 53 72 |;. ->.lo|ng...fSr|
|00005ef0| 63 44 61 74 61 54 79 70 | 65 3b 0d 20 2d 3e 09 4f |cDataTyp|e;. ->.O|
|00005f00| 53 54 79 70 65 09 09 66 | 53 72 63 52 73 72 63 54 |SType..f|SrcRsrcT|
|00005f10| 79 70 65 3b 09 0d 20 2d | 3e 09 73 68 6f 72 74 09 |ype;.. -|>.short.|
|00005f20| 09 09 66 53 72 63 52 73 | 72 63 49 44 3b 0d 20 2d |..fSrcRs|rcID;. -|
|00005f30| 3e 09 4f 53 54 79 70 65 | 09 09 66 54 67 74 52 73 |>.OSType|..fTgtRs|
|00005f40| 72 63 54 79 70 65 3b 09 | 0d 20 2d 3e 09 73 68 6f |rcType;.|. ->.sho|
|00005f50| 72 74 09 09 09 66 54 67 | 74 52 73 72 63 49 44 3b |rt...fTg|tRsrcID;|
|00005f60| 0d 3c 2d 09 09 73 68 6f | 72 74 09 09 09 66 54 67 |.<-..sho|rt...fTg|
|00005f70| 74 52 73 72 63 41 74 74 | 72 73 3b 0d 3c 2d 09 09 |tRsrcAtt|rs;.<-..|
|00005f80| 6c 6f 6e 67 09 09 09 66 | 54 67 74 52 73 72 63 53 |long...f|TgtRsrcS|
|00005f90| 69 7a 65 3b 0d 7d 20 54 | 67 74 52 73 72 63 49 6e |ize;.} T|gtRsrcIn|
|00005fa0| 66 6f 54 79 70 65 3b 0d | 74 79 70 65 64 65 66 20 |foType;.|typedef |
|00005fb0| 75 6e 69 6f 6e 20 7b 0d | 09 54 67 74 46 69 6c 65 |union {.|.TgtFile|
|00005fc0| 49 6e 66 6f 54 79 70 65 | 09 09 66 46 69 6c 65 49 |InfoType|..fFileI|
|00005fd0| 6e 66 6f 3b 0d 09 54 67 | 74 52 73 72 63 49 6e 66 |nfo;..Tg|tRsrcInf|
|00005fe0| 6f 54 79 70 65 09 09 66 | 52 73 72 63 49 6e 66 6f |oType..f|RsrcInfo|
|00005ff0| 3b 0d 7d 20 54 61 72 67 | 65 74 49 6e 66 6f 50 42 |;.} Targ|etInfoPB|
|00006000| 2c 20 2a 54 61 72 67 65 | 74 49 6e 66 6f 50 42 50 |, *Targe|tInfoPBP|
|00006010| 74 72 3b 0d 46 69 65 6c | 64 20 64 65 73 63 72 69 |tr;.Fiel|d descri|
|00006020| 70 74 69 6f 6e 73 20 0d | 66 53 72 63 46 53 53 70 |ptions .|fSrcFSSp|
|00006030| 65 63 09 41 20 46 53 53 | 50 65 63 20 74 6f 20 74 |ec.A FSS|Pec to t|
|00006040| 68 65 20 73 6f 75 72 63 | 65 20 66 69 6c 65 20 72 |he sourc|e file r|
|00006050| 65 66 65 72 65 6e 63 65 | 64 20 62 79 20 74 68 65 |eference|d by the|
|00006060| 20 61 74 6f 6d 20 74 68 | 61 74 20 53 63 72 69 70 | atom th|at Scrip|
|00006070| 74 43 68 65 63 6b 20 73 | 75 70 70 6c 69 65 73 20 |tCheck s|upplies |
|00006080| 79 6f 75 2e 0d 66 53 72 | 63 44 61 74 61 54 79 70 |you..fSr|cDataTyp|
|00006090| 65 09 53 63 72 69 70 74 | 43 68 65 63 6b 20 73 75 |e.Script|Check su|
|000060a0| 70 70 6c 69 65 73 20 6f | 6e 65 20 6f 66 20 74 77 |pplies o|ne of tw|
|000060b0| 6f 20 76 61 6c 75 65 73 | 3a 20 20 6b 44 61 74 61 |o values|: kData|
|000060c0| 54 79 70 65 49 73 46 69 | 6c 65 20 69 66 20 53 63 |TypeIsFi|le if Sc|
|000060d0| 72 69 70 74 43 68 65 63 | 6b 20 77 61 6e 74 73 20 |riptChec|k wants |
|000060e0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 61 62 6f 75 |informat|ion abou|
|000060f0| 74 20 61 20 66 69 6c 65 | 3b 20 6f 74 68 65 72 77 |t a file|; otherw|
|00006100| 69 73 65 2c 20 6b 44 61 | 74 61 54 79 70 65 49 73 |ise, kDa|taTypeIs|
|00006110| 52 73 72 63 20 69 66 20 | 53 63 72 69 70 74 43 68 |Rsrc if |ScriptCh|
|00006120| 65 63 6b 20 77 61 6e 74 | 73 20 69 6e 66 6f 72 6d |eck want|s inform|
|00006130| 61 74 69 6f 6e 20 61 62 | 6f 75 74 20 61 20 72 65 |ation ab|out a re|
|00006140| 73 6f 75 72 63 65 2c 20 | 69 6e 63 6c 75 64 69 6e |source, |includin|
|00006150| 67 20 61 20 66 6f 6e 74 | 20 72 65 73 6f 75 72 63 |g a font| resourc|
|00006160| 65 2e 0d 66 54 67 74 46 | 69 6c 65 4e 61 6d 65 09 |e..fTgtF|ileName.|
|00006170| 53 63 72 69 70 74 43 68 | 65 63 6b 20 70 61 73 73 |ScriptCh|eck pass|
|00006180| 65 73 20 79 6f 75 20 74 | 68 65 20 66 69 6c 65 20 |es you t|he file |
|00006190| 6e 61 6d 65 20 63 6f 6e | 74 61 69 6e 65 64 20 69 |name con|tained i|
|000061a0| 6e 20 74 68 65 20 74 61 | 72 67 65 74 20 66 69 6c |n the ta|rget fil|
|000061b0| 65 20 73 70 65 63 2e 0d | 66 54 67 74 46 69 6e 64 |e spec..|fTgtFind|
|000061c0| 65 72 41 74 74 72 73 09 | 52 65 74 75 72 6e 20 74 |erAttrs.|Return t|
|000061d0| 68 65 20 46 69 6e 64 65 | 72 20 66 6c 61 67 73 20 |he Finde|r flags |
|000061e0| 6f 66 20 74 68 65 20 6f | 72 69 67 69 6e 61 6c 20 |of the o|riginal |
|000061f0| 66 69 6c 65 2e 0d 66 54 | 67 74 44 61 74 61 46 6f |file..fT|gtDataFo|
|00006200| 72 6b 53 69 7a 65 09 52 | 65 74 75 72 6e 20 74 68 |rkSize.R|eturn th|
|00006210| 65 20 73 69 7a 65 20 69 | 6e 20 62 79 74 65 73 20 |e size i|n bytes |
|00006220| 6f 66 20 74 68 65 20 6f | 72 69 67 69 6e 61 6c 20 |of the o|riginal |
|00006230| 64 61 74 61 20 66 6f 72 | 6b 20 6f 66 20 74 68 65 |data for|k of the|
|00006240| 20 66 69 6c 65 0d 66 54 | 67 74 52 73 72 63 46 6f | file.fT|gtRsrcFo|
|00006250| 72 6b 53 69 7a 65 09 52 | 65 74 75 72 6e 20 74 68 |rkSize.R|eturn th|
|00006260| 65 20 73 69 7a 65 20 69 | 6e 20 62 79 74 65 73 20 |e size i|n bytes |
|00006270| 6f 66 20 74 68 65 20 6f | 72 69 67 69 6e 61 6c 20 |of the o|riginal |
|00006280| 72 65 73 6f 75 72 63 65 | 20 66 6f 72 6b 20 6f 66 |resource| fork of|
|00006290| 20 74 68 65 20 66 69 6c | 65 2e 0d 66 54 67 74 43 | the fil|e..fTgtC|
|000062a0| 72 65 61 74 69 6f 6e 44 | 61 74 65 09 52 65 74 75 |reationD|ate.Retu|
|000062b0| 72 6e 20 74 68 65 20 63 | 72 65 61 74 69 6f 6e 20 |rn the c|reation |
|000062c0| 64 61 74 65 20 6f 66 20 | 74 68 65 20 6f 72 69 67 |date of |the orig|
|000062d0| 69 6e 61 6c 20 66 69 6c | 65 2e 20 20 53 63 72 69 |inal fil|e. Scri|
|000062e0| 70 74 43 68 65 63 6b 20 | 63 75 72 72 65 6e 74 6c |ptCheck |currentl|
|000062f0| 79 20 69 67 6e 6f 72 65 | 73 20 74 68 69 73 20 66 |y ignore|s this f|
|00006300| 69 65 6c 64 2e 0d 66 53 | 72 63 52 73 72 63 54 79 |ield..fS|rcRsrcTy|
|00006310| 70 65 09 53 63 72 69 70 | 74 43 68 65 63 6b 20 70 |pe.Scrip|tCheck p|
|00006320| 61 73 73 65 73 20 79 6f | 75 20 74 68 65 20 72 65 |asses yo|u the re|
|00006330| 73 6f 75 72 63 65 20 74 | 79 70 65 20 6f 66 20 74 |source t|ype of t|
|00006340| 68 65 20 73 6f 75 72 63 | 65 20 72 65 73 6f 75 72 |he sourc|e resour|
|00006350| 63 65 2e 0d 66 53 72 63 | 52 73 72 63 49 44 09 53 |ce..fSrc|RsrcID.S|
|00006360| 63 72 69 70 74 43 68 65 | 63 6b 20 70 61 73 73 65 |criptChe|ck passe|
|00006370| 73 20 79 6f 75 20 74 68 | 65 20 72 65 73 6f 75 72 |s you th|e resour|
|00006380| 63 65 20 49 44 20 6f 66 | 20 74 68 65 20 73 6f 75 |ce ID of| the sou|
|00006390| 72 63 65 20 72 65 73 6f | 75 72 63 65 2e 0d 66 54 |rce reso|urce..fT|
|000063a0| 67 74 52 73 72 63 54 79 | 70 65 09 53 63 72 69 70 |gtRsrcTy|pe.Scrip|
|000063b0| 74 43 68 65 63 6b 20 70 | 61 73 73 65 73 20 79 6f |tCheck p|asses yo|
|000063c0| 75 20 74 68 65 20 72 65 | 73 6f 75 72 63 65 20 74 |u the re|source t|
|000063d0| 79 70 65 20 6f 66 20 74 | 68 65 20 74 61 72 67 65 |ype of t|he targe|
|000063e0| 74 20 72 65 73 6f 75 72 | 63 65 2e 0d 66 54 67 74 |t resour|ce..fTgt|
|000063f0| 52 73 72 63 49 44 09 53 | 63 72 69 70 74 43 68 65 |RsrcID.S|criptChe|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.